From ad61eaf5321bdc38fd30d717867ebdab02a361da Mon Sep 17 00:00:00 2001 From: morthimer Date: Mon, 3 Jun 2024 01:36:42 +0200 Subject: [PATCH] Add dotfiles/.gitconfig --- dotfiles/.gitconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 dotfiles/.gitconfig diff --git a/dotfiles/.gitconfig b/dotfiles/.gitconfig new file mode 100644 index 0000000..f3c5cd3 --- /dev/null +++ b/dotfiles/.gitconfig @@ -0,0 +1,17 @@ +[alias] + co = checkout + br = branch + ci = commit + st = status + pl = pull + plo = pull origin + ph = push + pho = push origin + df = diff + unstage = reset --soft HEAD^ + lg = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short + unci = reset HEAD~1 --mixed + bri = branch --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(contents:subject) %(color:green)(%(committerdate:relative)) [%(authorname)]' --sort=-committerdate + diffc = !git diff --cached + fpa = !git fetch --all --prune + tagrd = !git push --delete origin \ No newline at end of file