22 lines
556 B
Bash
Executable File
22 lines
556 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Aliases
|
|
git config --global alias.br branch
|
|
git config --global alias.ci commit
|
|
git config --global alias.cl clone
|
|
git config --global alias.co checkout
|
|
git config --global alias.df diff
|
|
git config --global alias.lg log
|
|
git config --global alias.pl pull
|
|
git config --global alias.ps push
|
|
git config --global alias.st status
|
|
git config --global alias.sw switch
|
|
|
|
# Editor
|
|
git config --global core.editor nvim
|
|
|
|
# Misc
|
|
git config --global pull.rebase true
|
|
git config --global init.defaultBranch main
|
|
git config --global fetch.prune true
|