sunhat/settings/set_git.sh

15 lines
393 B
Bash
Raw Permalink 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 $GH_USERNAME
git config --global user.email $GH_EMAIL
2024-06-09 04:16:43 -05:00
# Sign in to GitHub
gh auth login