Last active
November 4, 2025 23:11
-
-
Save bioshazard/be7b63d21db5494e844c9a4e21e8381a to your computer and use it in GitHub Desktop.
Git New Branch from origin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git config --global alias.nb '!f() { git fetch origin && git checkout -b "$1" origin/${2:-master} --no-track; }; f' | |
| git config --global --type bool push.autoSetupRemote true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment