Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * create empty branch [https://stackoverflow.com/a/34100189/9446622]
- 1. git checkout --orphan empty-branch
- 2. git rm -rf .
- 3. git commit --allow-empty -m "root commit"
- 4. git push origin empty-branch
- * delete branch
- (local)
- 1. git branch -d meong
- (remote)
- 1. git push origin --delete meong
Advertisement
Add Comment
Please, Sign In to add comment