Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Stash problem while restoring

Madhu Padikar March 26, 2014

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
ThiagoBomfim
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 31, 2014

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
TAGS
AUG Leaders

Atlassian Community Events