I have two Stash repositories, one is a FORK of another one (PARENT).
I did a mistake and merged in the wrong branch (FORK.wrong-branch) some commits.
To fix it I decided to delete FORK.wrong-branch.
Now this branch exists only in the PARENT repository, I would like to recreate it also in my FORK, how should I proceed?
Asked
Active
Viewed 69 times
0

Jonathan Leffler
- 730,956
- 141
- 904
- 1,278

user2572526
- 1,219
- 2
- 17
- 35
1 Answers
1
Pull the branch from the parent repository and push it to the fork repository. Something like this:
git fetch PARENT
git push FORK PARENT/branch:branch

adzenith
- 757
- 5
- 8