Remote will not save

Hello - I am trying to add a new remote for one of my repositories. I click New Remote, enter a Remote name, select the URL/Path from the list (after clicking the world icon) and click OK. The remote shows up in my Remote Repository Path list. I click ok to close the Remote repository path list. I then go to make an intial commit to the remote repository but the checkbox labeled 'Push commits immediately to:' is grayed out and I cannot select my remote from the pick list. I've tried this about 10 times now and cannot get the remote to save.

I've been able to save 2 other remotes last week. What am I doing wrong? Thanks.

1 answer

Very strange - can you take a look inside the .git/config file in your repo to see if the remote is actually being saved there? Does it show in the Settings window after you've added it (if you re-open the window)?

SourceTree just gets the remote list for the push dialog from 'git remote -v' in the end.

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...

1,112 views 4 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