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

This widget could not be displayed.

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 May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

869 views 2 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