SHARE
TWEET

Untitled

a guest Jul 17th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top