diff options
Diffstat (limited to 'git/.gitconfig')
| -rw-r--r-- | git/.gitconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/git/.gitconfig b/git/.gitconfig index 4f97d85..3e3824b 100644 --- a/git/.gitconfig +++ b/git/.gitconfig | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | deploy = "!f() { read -p \"Do you want to push branch $1 to $1/master? [Y/n] \" yn; [ "$yn" == "Y" ] && git push $1{,:master}; }; f" | 11 | deploy = "!f() { read -p \"Do you want to push branch $1 to $1/master? [Y/n] \" yn; [ "$yn" == "Y" ] && git push $1{,:master}; }; f" |
| 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 | [push] | 15 | [push] |
| 15 | default = simple | 16 | default = simple |
| 16 | [pull] | 17 | [pull] |
