Skip to content

Instantly share code, notes, and snippets.

@thejoaov
Last active January 8, 2022 21:55
Show Gist options
  • Select an option

  • Save thejoaov/ab9d1715227c6a38ae1f06713aaaf1b6 to your computer and use it in GitHub Desktop.

Select an option

Save thejoaov/ab9d1715227c6a38ae1f06713aaaf1b6 to your computer and use it in GitHub Desktop.
# git config --global core.editor "code --wait"
# git config --global --edit
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[user]
name = João Victor dos Santos Mendes
email = [email protected]
[core]
editor = code --wait
[alias]
s = !git status -s
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'
ca = !git add --all && git commit --amend --no-edit
bd = !git branch -D
pm = !git pull origin master
pmr = !git pull origin master --rebase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment