In Sourcetree (git repository) I'm not able to stage non contiguous lines.
Is it a git limitation or SourceTree ?
Thanks,
Oleg
You should use smartGit for that. It has an Index Editor which lets you freely edit the index and working tree contents of files.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's a SourceTree limitation, SourceTree needs to build a patch file in order to manipulate the diff on a line level, and non-contiguous line selections make that a lot less reliable. Instead of selecting 2 non-contiguous areas of the file though you can just select a single area at a time and stage that instead.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.