sunhat/settings/set_git.sh

15 lines
396 B
Bash
Raw Normal View History

2024-06-05 11:42:01 -05:00
# Set common git aliases
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.ci commit
git config --global alias.st status
git config --global pull.rebase true
2024-06-09 04:16:43 -05:00
# Set git editor and user
git config --global core.editor "nvim"
git config --global user.name "gibbyb"
git config --global user.email "gib@gibbyb.com"
# Sign in to GitHub
gh auth login