tldr/pages.tr/common/git-worktree.md

21 lines
517 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# git worktree
> Aynı depoya bağlı çoklu çalışan ağaçları yönet.
> Daha fazla bilgi için: <https://git-scm.com/docs/git-worktree>.
- Belirtilen dala sahip yeni bir dizin yarat:
`git worktree add {{örnek/dizin}} {{dal}}`
- Yeni bir dala sahip yeni bir dizin yarat:
`git worktree add {{örnek/dizin}} -b {{yeni_dal}}`
- Bu depoya bağlı tüm çalışan dizinleri sırala:
`git worktree list`
- Bir çalışma ağacını (çalışma ağacı dizinini sildikten sonra) kaldır:
`git worktree prune`