Checkout Branch Error SourceTree V2.5.4.0

Vishal Patel April 13, 2018

After the SourceTree update to v2.5.4.0.

We are not able to switch the branch. we are getting error.

===============================================

git -c diff.mnemonicprefix=false -c core.quotepath=false checkout master --progress
error: unknown option `progress'
usage: git checkout [<options>] <branch>
or: git checkout [<options>] [<branch>] -- <file>...

-q, --quiet suppress progress reporting
-b <branch> create and checkout a new branch
-B <branch> create/reset and checkout a branch
-l create reflog for new branch
--detach detach the HEAD at named commit
-t, --track set upstream info for new branch
--orphan <new-branch>
new unparented branch
-2, --ours checkout our version for unmerged files
-3, --theirs checkout their version for unmerged files
-f, --force force checkout (throw away local modifications)
-m, --merge perform a 3-way merge with the new branch
--overwrite-ignore update ignored files (default)
--conflict <style> conflict style (merge or diff3)
-p, --patch select hunks interactively
--ignore-skip-worktree-bits
do not limit pathspecs to sparse entries only
--ignore-other-worktrees
do not check if another worktree is holding the given ref

==========================================================

Also sending you screen shot for the same.souretree.png 

 

 

2 answers

0 votes
Vishal Patel April 15, 2018

Yes it is working now i was running on system Git version 2.6.4. I than updated embedded Git to latest version and  switch to Git version to embedded. After than its working fine.

Thanks for your help and quick response.

Can i have 1 more information when the source tree will be available for Ubuntu version?

minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 17, 2018

Hi

Thanks for the feedback, For now there is no roadmap for a Linux version but please vote on the following ticket to show you support for having one https://jira.atlassian.com/browse/SRCTREE-2991. We review the tickets regularly.

0 votes
minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 13, 2018

Hi

Can I check what version of Git you are running? That option was added in Git 2.7.0?

We would definitely recommend upgrading Git if you are running a version older than that.

However Sourcetree should cope with older versions, I've raised https://jira.atlassian.com/browse/SRCTREEWIN-8534 and we will look into it.

For now I would suggest either upgrading Git or reverting to 2.4.8.0 for now.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events