home.social

#worktrees — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #worktrees, aggregated by home.social.

  1. @caseyliss I just heard you on ATP discussing "cloning a repo multiple times" to do different work at the same time. #Worktrees (a #Git feature) might be helpful in some of these situations.

  2. I think I remember having read about #git #worktrees in a remote past, but today I rediscovered them when Claude proposed it to work in parallel on multiple features:

    geeksforgeeks.org/git/using-gi

    It's actually a nice way of having multiple views of a given git repo. I used to do

    git clone path/to/other/repo

    and then do commit/push to/from these repos. But it was always a mess! Using `git worktrees` you can have this in a more ordered fashion!

  3. 🍒 Cherry-pick commits easily with shift+c to copy and shift+v to paste. Create and manage #worktrees to work on multiple branches simultaneously. Custom command system for extending functionality beyond built-in features.

    🎨 Visual commit graph showing relationships and author colors. Built-in support for #Gitflow workflow and branch management. Filter any view to quickly find what you need.

  4. I don’t see anything (impacting me, anyway) different between #Git #Worktrees and just cloning the remote repo again, but for some reason I really like them.

  5. 🤩 Discovered a great article on jj!

    It explains how #jj was designed around concurrency to allow repo syncing. It treats #conflicts as first-class concepts to be resolved later and allows sparse #worktrees plus #undo on all repo operations.

    Jujutsu is great for the wrong reason
    by Allen Li:

    felesatra.moe/blog/2024/12/23/

    #git #jjfzf #versioncontrol #coding

  6. #GitKraken now supports #WorkTrees!
    Ever wanted to work on multiple branches at once? #Git worktrees may be for you.
    youtube.com/watch?v=grAsFn5yvj