Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # create empty repo 'v8-test' at your account @github
- # initial setup with totally empty commit
- git init
- git remote add origin git@github.com:${username}/v8-test.git
- git checkout -b master
- git commit --allow-empty --allow-empty-message
- # early detach
- git checkout -b upstream
- git commit --allow-empty -m 'start upstream branch'
- # back to master
- git checkout master
- git commit --allow-empty -m 'start Debian branch'
- # setup upstream branch
- git checkout upstream
- git remote add source git@github.com:v8/v8.git
- git remote update --prune
- git remote set-head source 3.22
- git merge --squash --no-commit source
- git commit -m 'Imported upstream 3.22.24.20'
- # cleanup our upstream branch
- ls -lhd -- test/mjsunit/tools/*.log tools/v8.xcodeproj
- git rm -rf -- test/mjsunit/tools/*.log tools/v8.xcodeproj
- ls -lhd -- test/mjsunit/tools/*.log tools/v8.xcodeproj
- git commit -m 'Cleanup upstream'
- # finalize
- git push -u origin master
- git push -u origin upstream
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement