Communick News
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
rglullisA to Emacs@programming.devEnglish · 16 hours ago

Working with Git Worktrees in Magit

emacsredux.com

external-link
message-square
0
link
fedilink
8
external-link

Working with Git Worktrees in Magit

emacsredux.com

rglullisA to Emacs@programming.devEnglish · 16 hours ago
message-square
0
link
fedilink
I’ll admit that until fairly recently I had no idea git worktrees existed. They’ve been part of git for a decade1 and I never once needed them. Feature branches did the job just fine - create a branch, do the work, merge it, delete it, and start over. What finally introduced me to worktrees was, of all things, AI coding agents. Tools like Claude Code create a worktree for each task, so several agents (or several sessions of the same agent) can work on the same repo in parallel without stepping on each other - or on you. Suddenly my projects directory was full of cider-this and cider-that siblings, and I figured I should understand what’s actually going on there. They were introduced in git 2.5, released all the way back in July 2015. ↩
alert-triangle
You must log in or # to comment.

Emacs@programming.dev

emacs@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !emacs@programming.dev
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 24 users / day
  • 24 users / week
  • 60 users / month
  • 166 users / 6 months
  • 1 local subscriber
  • 679 subscribers
  • 121 Posts
  • 90 Comments
  • Modlog
  • mods:
  • Ategon@programming.dev
  • therealemilioestevez@programming.dev
  • BE: 0.19.18
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org