Created
May 5, 2021 13:51
-
-
Save raloliver/9b01ebc6aed98966b5d0905e90398714 to your computer and use it in GitHub Desktop.
git.config
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
[user] | |
mail = [email protected] | |
name = username | |
email = [email protected] | |
[core] | |
editor = code --wait | |
[alias] | |
s = !git status | |
c = !git add --all && git commit -m | |
l = !git log --pretty=format:'%C(blue)%h%C(red)%d %C(white)%s - %C(cyan)%cn, %C(green)%cr' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Glad to help. Here are most of my aliases if you are interested. https://github.com/MichaelCurrin/dotfiles/blob/master/.gitconfig.toml
In particular, see
alias
, which let's me rungit alias
and see a list of my aliases :).