Last active
January 18, 2023 17:24
-
-
Save rileypeterson/23267d65d7c037726db7f106e30bfe95 to your computer and use it in GitHub Desktop.
This file contains 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
# Automatically sets upstream tracking | |
git config --global push.default current | |
# Autocomplete | |
brew install git bash-completion | |
# Create local branch which tracks existing remote branch | |
# https://stackoverflow.com/a/9537923/8927098 | |
git checkout --track origin/<branch_name> | |
# Show untracked files (instead of folder) | |
# https://michaelheap.com/git-status-untracked/ | |
git config --global status.showUntrackedFiles all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment