aboutsummaryrefslogtreecommitdiffstats
path: root/git
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--git/Makefile2
-rw-r--r--git/bash-aliases9
2 files changed, 1 insertions, 10 deletions
diff --git a/git/Makefile b/git/Makefile
index 4d67fe2..8e57722 100644
--- a/git/Makefile
+++ b/git/Makefile
@@ -4,7 +4,7 @@ install:
mkdir -p -- ~/.config/git
test ! -e ~/.config/git/config || test -L ~/.config/git/config
test ! -e ~/.config/git/config || test -f ~/.config/git/config
- cat config ../.secrets/git/config >> .config
+ cat config ../.secrets/git/config > .config
ln -sf -- ~/.dotfiles/git/.config ~/.config/git/config
mkdir -p -- ~/.config/bash/aliases.d
test ! -d ~/.config/bash/aliases.d/git
diff --git a/git/bash-aliases b/git/bash-aliases
index 3552668..3b19a26 100644
--- a/git/bash-aliases
+++ b/git/bash-aliases
@@ -7,15 +7,6 @@ gitcomm () {
git commit --signoff -S"$GPG_KEY" -m "$*"
}
-ge () {
- if [ -z "$EDITOR" ]; then
- printf '\e[1;31m%s\e[0m\n' 'No default editor is set, please configure the environment variable EDITOR'
- else
- $EDITOR -- "$@"
- git add -- "$@"
- fi
-}
-
gitpush () {
git push -u origin `___git_branch_`
}