Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. $ git worktree list
  2. /path/to/bare-source (bare)
  3. /path/to/linked-worktree abcd1234 [master]
  4. /path/to/other-linked-worktree 1234abc (detached HEAD)
  5.  
  6. git merge ../master
  7. git pull ../imp_2
  8.  
  9. git clone -b master <repo> master
  10. cd master
  11.  
  12. # checking out implementation_1 in ../imp_1
  13. git worktree add ../imp_1 implementation_1
  14.  
  15. # creating branch implementation_2 at master~2 as you check it out in ../imp2:
  16. git worktree add -b implementation_2 ../imp_2 master~2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement