News for hackers. Stuff that matters.
Re:Git Undo by krupan on Thursday August 25, 2016 @12:12PM (#12360198)
But why stage when you can just commit? You can use rebase -i to modify that commit later if you need.
Re:Git Undo by minitech on Thursday August 25, 2016 @07:37PM (#12363308)
You might not want to commit all of your changes at once.
Re:Git Undo by krupan on Thursday August 25, 2016 @10:57PM (#12364009)
commit can be followed by a file name. Or there is commit --interactive or commit --patch to choose what to commit (or git add versions of those).