Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
git_worktree [2019/02/24 13:43] – [Remove working tree] rpjdaygit_worktree [2019/03/06 08:24] (current) – [Additional issues to cover] rpjday
Line 97: Line 97:
 ==== Remove the worktree ==== ==== Remove the worktree ====
  
-If you have no further use for the worktree, remove and prune, which has no effect on the branch that was created:+If you have no further use for the worktree, remove it, which has no effect on the branch that was created:
  
 <code> <code>
 $ git worktree remove ../temp $ git worktree remove ../temp
-$ git worktree prune 
 $ git branch $ git branch
   emergency   emergency
Line 230: Line 229:
 ==== Make and commit a change in the worktree ==== ==== Make and commit a change in the worktree ====
  
-Stage a change:+Make a change, and stage it:
  
 <code> <code>
Line 346: Line 345:
 </code> </code>
  
-===== Additional issues =====+===== Additional issues to cover =====
  
   * locking and unlocking working trees   * locking and unlocking working trees
   * moving working trees   * moving working trees
-  * gc.worktreePruneExpire +  * git config %%--%%worktree (man git-config)
-  * git config --worktree (man git-config)+
   * config var ''extensions.worktreeConfig''   * config var ''extensions.worktreeConfig''
   * config var ''gc.worktreePruneExpire''   * config var ''gc.worktreePruneExpire''
  • git_worktree.1551015801.txt.gz
  • Last modified: 2019/02/24 13:43
  • by rpjday