diff options
| author | 2024-09-19 12:01:44 +0200 | |
|---|---|---|
| committer | 2024-09-19 12:01:44 +0200 | |
| commit | edfb6b5512458b3ee712416fe32e308ebcfce69f (patch) | |
| tree | 985be88948b290db76f36b7001a70d334b90df41 | |
| parent | d24da65777b3cc3ca315edee5ab7610669966e6b (diff) | |
| download | dotfiles-edfb6b5512458b3ee712416fe32e308ebcfce69f.tar.gz dotfiles-edfb6b5512458b3ee712416fe32e308ebcfce69f.tar.bz2 dotfiles-edfb6b5512458b3ee712416fe32e308ebcfce69f.zip | |
Added more aliases
| -rw-r--r-- | git/.gitconfig | 2 |
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] |
