-
-
Save Domi-cc/7725333 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
# git bash completion | |
. /usr/local/git/contrib/completion/git-completion.bash | |
alias g="git status" |
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 = Carsten Brandt | |
email = [email protected] | |
[alias] | |
# more on https://git.wiki.kernel.org/index.php/Aliases | |
st = status | |
co = checkout | |
ci = commit | |
cia = commit -a | |
br = branch | |
brr = branch -a | |
l = log --pretty=format:\"%h %an - %Cblue%d%Creset %s\" | |
ll = log --pretty=format:\"%h %ad %an - %Cblue%d%Creset %s\" --graph --date=rfc | |
lg = log --name-status --decorate=full --graph | |
last = cat-file commit HEAD | |
sm = submodule | |
smu = submodule update | |
noffmerge = merge --no-ff | |
fetchall = fetch --all -p -t -v | |
# rnew is not realy what I wanted yet, so handle with care! | |
rnew = log --name-status --decorate=full --graph master..origin/master | |
lnew = log --name-status --decorate=full --graph ORIG_HEAD.. --stat | |
# find unmerged branches | |
unmerged = branch --no-merged | |
[core] | |
editor = /usr/bin/vi | |
excludesfile = ~/.gitignore_global | |
# always commit unix line endings (http://help.github.com/line-endings/) | |
autocrlf = input | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
interactive = auto | |
[merge] | |
summary = true | |
[rebase] | |
stat = true | |
[mergetool] | |
keepBackup = true |
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
# ~/.gitignore_global | |
# | |
# phpstorm ide files | |
.idea/* | |
# Mac stuff | |
.DS_Store | |
# bbedit project files | |
*.bbproject | |
*.bbprojectd | |
# ignore copied svn files | |
.svn/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment