I am new to Git, sorry if this is a silly question.
I have different URLs for push and Fetch(read-only repo) configure. Using sourceTree, i can fetch from my read-only repo. But when I want to push changes using SourceTree, I cannot because it is pointing to my read-only repo where i cannot write. How can i achieve something as below using SourceTree
$ git remote -v
origin git://git-readonly.abc.com/MyRepo (fetch)
origin firstname.lastname@example.org:MyRepo (push)
I have configure it using the command below. But could not make it work with SourceTree. Using Bash it works.
$ git remote set-url --add --push origin email@example.com:MyRepo
[Note: So it was my turn for Friday Fun and sadly I was sick thanks to rubbish sinus infection... so apologies to most of Europe and Asia for the delayed post. However, I finally got out of bed for t...
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!
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