I have this:
-------- dhcp-21:~ 502% cat ~/bin/git-addremove #!/bin/sh git add -u && git add . -------- I've meaning to see if git proper will take that. On Oct 13, 11:40 am, Markus Prinz <[EMAIL PROTECTED]> wrote: > On 13.10.2008, at 19:57, GitHub Support wrote: > > > `git status` should tell you any uncommitted changes and untracked > > files > > also. > > I've got a nifty little alias I found on the internet for such > occasions (I can't remember where so I can't give proper credit). It > works similar to Mercurials addremove command: > > !addremove() { git add .; git ls-files --deleted | xargs git rm; }; > addremove > > This adds any files (both tracked and untracked) to the index, and > marks any files you've deleted (without using git rm) as such in the > index. > > You can add it like this: > > git config --global alias.addrm '!addremove() { git add .; git ls- > files --deleted | xargs git rm; }; addremove' > > regards, Markus --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GitHub" group. To post to this group, send email to github@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/github?hl=en -~----------~----~----~----~------~----~------~--~---