aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--git/.gitconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/git/.gitconfig b/git/.gitconfig
index 3e3824b..9ce6c46 100644
--- a/git/.gitconfig
+++ b/git/.gitconfig
@@ -12,6 +12,8 @@
12 cm = commit -m 12 cm = commit -m
13 ra = "!f() { read -p \"Author email: \" email; [ -n \"${email}\" ] && git config user.email ${email} && git commit --amend --reset-author; }; f" 13 ra = "!f() { read -p \"Author email: \" email; [ -n \"${email}\" ] && git config user.email ${email} && git commit --amend --reset-author; }; f"
14 merge-to = "!f() { git checkout $1; git merge -; git checkout -; }; f" 14 merge-to = "!f() { git checkout $1; git merge -; git checkout -; }; f"
15 ignore = "!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}; gi"
16 merge-branch = "!f() { git checkout $1; git pull; git checkout -b merge/$1/$2; git merge $2 ;}; f"
15[push] 17[push]
16 default = simple 18 default = simple
17[pull] 19[pull]