4 ms·
“By default, git won’t let you push to the branch that is currently checked out” TIL that people use non-bare git.
by iwontberude 1y ago
“By default, git won’t let you push to the branch that is currently checked out”
TIL that people use non-bare git.
- mook 1y agoI use non-bare git because it's just transferring code between multiple machines for cross-platform locally run software; that is, it's just checkouts on mac, Windows, and Linux and commits being pushed amongst them. But then I also use worktrees and stuff, so maybe I'm weird.