From 70378d151340710786311f349dd00092a05ef510 Mon Sep 17 00:00:00 2001 From: TheK4n Date: Fri, 24 Dec 2021 22:02:26 +0000 Subject: [PATCH] git --- .gitconfig | 7 +++++-- Makefile | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitconfig b/.gitconfig index 075673d..b510e74 100644 --- a/.gitconfig +++ b/.gitconfig @@ -21,8 +21,8 @@ a = "!git status --short | peco | awk '{print $2}' | xargs git add" d = diff co = checkout - ci = commit - ca = commit -a + ci = commit -m + ca = commit -am ps = "!git push origin $(git rev-parse --abbrev-ref HEAD)" pl = "!git pull origin $(git rev-parse --abbrev-ref HEAD)" st = status @@ -47,3 +47,6 @@ [github] user = "TheK4n" email = "djvlad967891@gmail.com" +[user] + email = djvlad967891@gmail.com + name = TheK4n diff --git a/Makefile b/Makefile index 0dd22db..e763c42 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,7 @@ backup: mv ~/.vim ~/.vim.bak || true mv ~/.subbash ~/.subbash.bak || true mv ~/.tmux.conf ~/.tmux.conf.bak || true + mv ~/.gitconfig ~/.gitconfig.bak || true install: ln -s $(PWD)/.subbash ~ || true