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 Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...
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