From a7c81cbd9c99c407a4a886d218f4b7373332c137 Mon Sep 17 00:00:00 2001 From: stanislas Date: Sun, 25 Sep 2022 10:23:16 +0200 Subject: [PATCH] initiated .gitconfig --- .gitconfig | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .gitconfig diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..09c017f --- /dev/null +++ b/.gitconfig @@ -0,0 +1,25 @@ +[user] + name = stanislas + email = stanislas@jouf.fr +[init] + defaultBranch = main +[color] + ui = auto +[alias] + cg = config --global + aliases = !git config --get-regexp alias | sed -re 's/alias\\.(\\S*)\\s(.*)$/\\1 = \\2/g' + ci = commit + co = checkout + st = status + lg = log --graph --date=relative --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ad)%Creset' + oops = commit --amend --no-edit + pfl = push --force-with-lease + adda = add --a + uncommit = reset --soft HEAD~1 + untrack = rm --cache -- + rb = rebase + rbc = rebase --continue + rba = rebase --abort + rbi = rebase --interactive origin/main +[pull] + rebase = true