Last active
May 16, 2024 09:00
-
-
Save mguilhermetavares/d71bf5e42b6ec224d609ed7f54530e2b to your computer and use it in GitHub Desktop.
This file contains hidden or 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] | |
name = Guido | |
email = [email protected] | |
[alias] | |
last = log -1 HEAD --stat | |
cb = checkout -b | |
co = checkout | |
s = status -sb | |
l = log --pretty=format:'%C(blue)%h %C(red)%d %C(white) - %C(cyan)%cn, %C(green)%cr' | |
bclean = !git checkout main && git branch | grep -v '^*' | xargs git branch -D | |
lg = log --all --graph --decorate --oneline --abbrev-commit | |
branches = branch -a | |
wip = !git add -u && git commit -sm 'wip: :construction: Work in progress' | |
amend = commit --amend | |
prev = !git reset HEAD~1 --soft | |
edit = !git config --global --edit | |
sm = commit -sm | |
gl = config --global -l | |
update = !git fetch -p && git pull | |
[core] | |
editor = vim | |
[push] | |
default = current | |
followTags = true | |
[includeIf "gitdir:~/workspace/trout/"] | |
path = ~/workspace/trout/.gitconfig_trout | |
[pull] | |
rebase = true | |
[init] | |
defaultBranch = main | |
[commit] | |
gpgsign = true | |
[gpg] | |
program = /opt/homebrew/bin/gpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment