With an installation of GIT on a new machine, the push/pull behavior I was used to has changed. I prefer that a push and pull only affects the current branch, not all of them.
To set this behavior, globally, run the following commands:
git config --global pull.default current git config --global push.default current
Now you won’t have anymore surprise pushes of your not-quite-ready code from another branch.
Latest posts by Thomas Hunter II (see all)
- Upgrading from an XPS 13 (9350) to a Carbon X1 5th Gen - 2017-10-03
- What have I been up to? Late 2017 Edition - 2017-09-28
- Is it time to replace REST with RPC? - 2017-09-27