Skip to content

Instantly share code, notes, and snippets.

@uqmessias
Last active July 23, 2019 18:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uqmessias/edf1d2fbf410daa6d224eb94fbf3987b to your computer and use it in GitHub Desktop.
Save uqmessias/edf1d2fbf410daa6d224eb94fbf3987b to your computer and use it in GitHub Desktop.
My default .gitconfig with some alias
[user]
name = Uilque Messias
[alias]
graph = log --graph --oneline --all --decorate --stat
graphall = log --graph --all --decorate --stat
pull = pull --rebase
graphline = log --graph --oneline --all --decorate
delbranch = "!f() { git push origin :\"$1\" --no-verify && git branch -d \"$1\"; }; f"
contributors = shortlog -s -n --no-merges
[core]
editor = vim
excludesfile = ~/.gitignore
[pull]
rebase = true
[commit]
template = ~/.gitmessage
# Visual Studio Code
.vscode/*
.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.project
**/.settings/*
.classpath
# Android Studio
.idea
# iOS
ios/Carthage/*
# 50-character subject line
#2345678901234567890123456789012345678901234567890
# 72-character wrapped longer description.
#23456789012345678901234567890123456789012345678901234567890123456789012
echo '
alias rn-reload="adb shell input text \"RR\""
alias rn-menu="adb shell input keyevent 82"' >> ~/.bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment