HI All,
i have two servers server1 is production server, i have taken backup of server1 using backup client provided by atlassian and restored in server2. but after restoring in server2 i tried pushing to the server2 and the push is happening in server1 and server 2 both.
When i pushed to server2 the push should go only to server2 not on server1. can any one know how to do it?
Hi Madhu,
When you run a "git push", usually you will already have defined a remote http address with the "git remote" command.
For instance:
git remote add origin http://address/to/stash/repo.git git push origin master
This will push the master branch to the address you specified as the "origin" alias.
For more details on those commands, please visit Atlassian Git website:
Best regards,
Thiago Bomfim
Atlassian Support - DevTools
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.