News for hackers. Stuff that matters.
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.
Re:GitTips by K0nserv on Monday August 15, 2016 @12:11PM (#12291365)
You can pass arguments so `goops app tests` only adds files in app and tests
Re:GitTips by prh8 on Monday August 15, 2016 @12:40PM (#12291552)
Cool thanks! I just got that working for myself, with the extra logic of doing `git add -u` if there were no arguments.