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 Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

248 views 0 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot