Is there a way to git stash just specific hunks? It seems to always take all files.
It would be nice that if the user could just stash the staged items (or the unstaged items - your choice). Essentially using the index as the input to --patch.
+1 from me as well. TortoiseHG allows to shelve (the equivalent of stash for mercurial) hunks and lines and it's very convenient.
I know it is already possible to commit only hunks or lines, but I want to only stage working code. The scenario that I am dealing with is the following :
As you see, the important point is step 6 : I need to compile and run the exact code that I am checking in. This is not possible with hunk staging where you are staging something that is in practise not tested isolately.
Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot