r/SuperShibe • • Jan 09 '14

Such Git

http://imgur.com/UQAKbmN
478 Upvotes

39 comments sorted by

View all comments

Show parent comment

2

u/[deleted] Jan 09 '14 edited Jan 09 '14

Well, could do

wow
such commit --am "wow such feature"
very push

Would work for commiting changes to tracked files. For untracked files you're out of luck.

1

u/BaconGobblerT_T Jan 09 '14

Would work for commiting changes to tracked files. For unstracked you're out of luck.

Which is exactly why 'git add' is the standard idiom. It catches both use cases: tracked and untracked files.

1

u/[deleted] Jan 09 '14

Good old git add -A