Syntax error in git commandline created by SourceTree Edited

I'm trying to create a tag using SourceTree.

When triggering the tag creation, SourceTree opens a window with the full error log, saying

***********************
git -c diff.mnemonicprefix=false -c core.quotepath=false tag -v -a -m "My message" A.00.01 27c5ead3fd84ea186f39415cd12bdc12bf8922d1
usage: git tag [-a | -s | -u <key-id>] [-f] [-m <msg> | -F <file>] <tagname> [<head>]

***********************

If I understand the git output correctly, it doesn't understand the parameter list that SourceTree is passing in.
What's going on, can I somehow fix this via a setting?

I'm using SourceTree 2.3.1.0 and the external git version 2.14.3.windows.1  (can't install the embedded one, I'm going to open another question for that)

Edit: the offending parameters seem to be -v and the two -c ones.

1 answer

1 accepted

1 vote
Accepted answer

Hi

Turn off the verbose mode in Tools/Options/Git tab.

We're working on a fix at the moment.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

832 views 3 2
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you