Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # how do i rebase commit "2"?
- # init repo
- rm -rf * .*; bzr init; printf 'test'>'test.py'; bzr add; bzr commit -m"1"; printf 'test2'>'test.py'; bzr commit -m"2"; printf 'test3'>'test.py'; bzr commit -m"3";
- # change commit "2" with uncommit
- bzr uncommit --force -r-3
- printf 'test-2'>'test.py';
- bzr commit -m"2"
- # change commit "2" with rebase
- bzr rebase -r-2 .
- # Base branch is descendant of current branch. Pulling instead.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement