this post was submitted on 31 Jul 2025
24 points (96.2% liked)
General Programming Discussion
8821 readers
3 users here now
A general programming discussion community.
Rules:
- Be civil.
- Please start discussions that spark conversation
Other communities
Systems
Functional Programming
Also related
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
When you do that you can't compare branches in the same working copy in different directories. You need to create remotes between the two working copies and push/pull between them.
e.g. "git log --graph ..my-branch" or "git diff my-branch master" where my-branch and master are in different directories.