Re:GitTips
by prh8 on Monday August 15, 2016 @12:08PM
(#12291346)
What does the `git add -A "$@"` do? I tried it just now, and it was equivalent to doing `git add .` (although I am using bash instead of ZSH). I have this alias for myself: `git commit -a --amend --no-edit && git push --force-with-lease`, which isn't perfect but close enough.
[ Parent
| on HN ]
You can pass arguments so `goops app tests` only adds files in app and tests