Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e7a8ae7

Browse files
git worktree
1 parent 74a1637 commit e7a8ae7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,12 @@ git stash pop # apply stash and remove from stack
364364
git stash apply # apply and keep stash in stack
365365
git diff > path-name.patch # save WIP diff as a patch
366366
git apply --3way some.patch # apply a patch like a stash
367+
368+
# worktree: Create a parellel directory to work on a separate feature
369+
# https://opensource.com/article/21/4/git-worktree
370+
git worktree add -b hotfix ~/code/hotfix master
371+
git worktree list
372+
git worktree remove hotfix
367373
```
368374

369375
[Atlassian Git Tutorials](https://www.atlassian.com/git/tutorials)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /