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.
Thanks for explanation and workaround. Any plans for improvement ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.