-
-
Save muratcanbur/accb8efcd83591fb58d3 to your computer and use it in GitHub Desktop.
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] | |
email = [email protected] | |
name = Salim KAYABAŞI | |
[core] | |
autocrlf = true | |
editor = 'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
[svn] | |
followparent = true | |
[branch] | |
autosetuprebase = always | |
[log] | |
date = relative | |
[alias] | |
co = checkout | |
st = status | |
ec = config --global -e | |
br = branch -vv | |
gr = grep -i | |
del = branch -D | |
ls = !git branch -r && git br | |
up = !git pull --rebase --prune $@ && git submodule update --init --recursive | |
cob = checkout origin/HEAD -b | |
task = "!f(){ git checkout origin/HEAD -b T${1} && git status; };f" | |
cm = !git add -A && git commit -m | |
save = !git add -A && git commit -m 'SAVEPOINT' | |
wip = !git add -u && git commit -m "WIP" | |
undo = reset HEAD~1 --mixed | |
amend = commit -a --amend | |
track = branch -u origin/HEAD | |
wipe = !git add -A && git commit -qm 'WIPE SAVEPOINT' && git reset HEAD~1 --hard | |
bclean = "!f() { git branch --no-track --no-color --merged ${1-dev} | grep -v " ${1-dev}$" | xargs -r git branch -d; }; f" | |
bdone = "!f() { git checkout ${1-dev} && git up && git bclean ${1-dev}; }; f" | |
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short | |
cp = cherry-pick | |
lg = log --oneline | |
# Commit changes to current head as amended commit | |
plus = commit --amend -a -C HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment