Stash problem while restoring

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?

1 answer

0 votes

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,949 views 7 10
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