(A message to my colleagues and the broader dev community, in general)
Look at what you people have done to me in two short years.
So, I do a little work on a branch. Change a few files:
12345678910111213
davidweinraub@copernicus:~/apps/myproject [mybranch*]$ git stOn branch mybranchYour branch is up-to-date with 'origin/mybranch'Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) modified: app/src/SomeProject/Controller/SomeSubspace/Featured.php modified: app/src/SomeProject/Controller/SomeSubspace/Shows.php modified: app/src/SomeProject/Model/SomeSubspace/Featured.phpno changes added to commit (use "git add" and/or "git commit -a")
Turns out that I only want to commit the two Featured files. So rather than mouse/trackpad, select, copy, paste, I do the following:
davidweinraub@copernicus:~/apps/myproject [mybranch*]$ git stOn branch mybranchYour branch is up-to-date with 'origin/mybranch'Changes to be committed: (use "git reset HEAD <file>..." to unstage) modified: app/src/SomeProject/Controller/SomeSubspace/Featured.php modified: app/src/SomeProject/Model/SomeSubspace/Featured.phpChanges not staged for commit: (use "git add <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) modified: app/src/SomeProject/Controller/SomeSubspace/Shows.php
You’ve ruined me. All of you.
And seriously, I can’t thank you enough. Seriously. :D