Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Worktrees perhaps?

https://git-scm.com/docs/git-worktree

Can't recall the source I learned from anymore, but this looks pretty good: https://www.gitkraken.com/learn/git/git-worktree

I have two projects where I've got a directory that I do most of my work out of and another directory (worktree) focused on syncing from remote/assisting others on the team.

If you don't need the extras worktree gives you, clone another copy?



I use worktrees instead of multiple clones mainly so I only have to worry about remembering to 'fetch' once.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: