I think this started during the last months when I did not work much in code. When I make a commit in Sourcetree under "File Status" the view jumps to "History" all the time where I can see all commits. But I want to stay under "File Status" as other changes are not committed yet. Is there a way to avoid this as it really disturbs my workflow.
Under Tools -> Options -> General there is a setting down below under Commit Settings called "After committing, stay in commit dialog if there are still pending changes".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I will try this as I am having the same issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This DOESN'T seem to work if you uncheck 'Automatically start SSH agent when Sourcetree opens'... Really annoying and disruptive to those of us that commit a lot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This doesn't work if you want to stay in the commit view after commit the final current set of changes. I commit checkpoints frequently, and don't want the view to switch to history after any commit. Making the assumption that after a commit I want to be looking at the history log is just another in a long series of unjustified presumptions that the authors of Atlassian seem to make about other developers' workflow.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is not an acceptable answer. Its a partial workaround that does not work for users that commit all.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry if I'm daft but... where is that setting on macos? Can't find it in SourceTree 4.2.6.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is no solution yet. I think I'll start a new thread , this one appears Solved. And it sure isn't - check the comments. Everyone is annoyed by this feature change.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
started a new thread that will not be marked solved with some irrelevant workaround that works only some of the time. Vote it up if you hate this jumping to history feature.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, will do.
But for anyone stumbling on the same question: to the best of my knowledge, the option suggested by Vincent Meijer does not seem to exist in the macos version of the app (!).
Found it on my Windows laptop, not on my macbook pro.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@mathieunancel this setting only works if you have uncommitted files left, which is usually not the case.
Since this thread has an "Accepted Answer" - there's a newer therad created https://community.atlassian.com/t5/Sourcetree-questions/Stop-the-jump-to-quot-History-quot-after-each-commit/qaq-p/2606632
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, I understand that :) but even that has helped me a lot, I often split my commits into finer chunks (perhaps that's bad practice?). That's why I was sad not to be able to find it in half of my workstations.
Already visited and liked the new thread.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Re "split my commits into finer chunks" - often if you make changes to multiple files and the commit only some of them - consider if you check-out this (partial) commit - will it compile or work? Probably not.
But that's off-topic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Agreed if you are going to split, then you should split into branches. Each branch can ten be tested to ensure each compiles and runs independently before committing. Then, unfortunately, you are again committing all, and the workaround is of no use.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Very annoying. I want to stay in File Status view (where I am) after I commit everything.
A workaround that helped a little is to use the keyboard shortcut to navigate back to File Status view. On Windows this would Ctrl+1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried the suggested answer by @Vincent but still the same problem (I don't have pending changes after commit).
I think it's a new "feature" added in 3.4.8 as I didn't have this problem before upgrade.
If so - please Atlassian undo it! Or at least make it configurable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the same problem (I don't want sourcetree to switch to the history tab when commiting the last changes). The existing option is cute I guess, but I really don't see the point of automatically switching to the history tab after a commit at all, so if we could get an option to not do that, that would be nice
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please add an option to not go to history on commit. Reposeed solutions don't work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Agree but hate double negatives or negatve actions - add an option to go to history after commit (so it can be unchecked). we don't need a bunch of negative options.
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.
As of January 2023 on v3.4.11 it is NOT solved. The "accepted" answer seems to only work if the stars are aligned just right.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
New release still doesn't include removing this "feature" (added in 3.4.8)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's just stupid how somebody can come-up with such stupid idea - and then force it on the users and refuse to remove it.
I work on old big projects with long history - and after each commit I have to wait for the history to load.
Just get rid of this stupid feature.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Since Atlassian seem only to care if enough squeaky wheels chime in, the "accepted" answer is not sufficient; it should not switch after any commit. The option to "After committing stay in commit dialog if there are still changes pending" should be either augmented or replaced by an option "After committing switch to history view". Default off.
A UI should not auto-switch it's current view unless the user opts in to such behavior or there is absolutely no value in remaining where you are, which is almost never the case and is certainly not the case here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Because of the new "feature" - when I go back to File Status it doesn't update automatically, I have to refresh (F5) - which does cause issues now because it looks like there's no changes!
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.