bitbucket merge reverted code example
Example: bitbucket get pull code previously reverted
/* In Visual Studio extension:
- View detailed project history
- Go to the commit tree view
- Find the commit for the actual revert (not what you reverted!)
- Right-click -> Revert the revert
Via the Command Line:
$git commit -m "fixed issues in feature-branch'
# create new branch tracking dev branch (branch to which you merge)
$ git checkout -b revert-the-revert-branch -t dev
# revert the reversion commit
# find it from your git log
# in linux try: 'git log | grep revert -A 5 -B 5'
$ git revert <revert-commit-hash>
$ git checkout feature-branch
$ git merge revert-the-revert-branch