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 email@example.com: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 firstname.lastname@example.org:MyRepo
Across the world, governments and healthcare authorities are demonstrating the power of collaboration to find solutions to the COVID-19 pandemic, to protect our communities, and to get things back to...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events