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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

136 views 17 7
Join discussion

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