The Git Command That Could Change Your Developer Life!

7 months ago
4

This for me anyway has been a game changer in terms of workflow and how I interact with repositories on my local machine and on the cloud.

Git Worktrees allow you to have multiple branches checked out on your machine at a given time. My understanding of how this works is that it is tracked using the .git folder. When you add a worktree is appears to duplicate the clone the repo into a folder given by the user, in my case it was a .worktree folder and it checks out that branch within this folder. Handy especially if you are a terminal navigator (I'm sure you are if you are watching this XD). Hope fully someon finds this useful :)

If you enjoyed the video don't forget to SUBSCRIBE!

Loading comments...