Guest User

Untitled

a guest
Apr 25th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. git symbolic-ref HEAD refs/heads/newbranch
  2. rm .git/index
  3. git clean -fdx
  4. <do work>
  5. git add your files
  6. git commit -m 'Initial commit'
  7.  
  8. is now
  9.  
  10. git checkout --orphan newbranch
  11. git clean -fdx
  12. <do work>
  13. git add your files
  14. git commit -m 'Initial commit'
Add Comment
Please, Sign In to add comment