diff --git a/config.yml b/config.yml index 82f5608..08ff41a 100644 --- a/config.yml +++ b/config.yml @@ -47,6 +47,14 @@ group: root mode: '0644' + - name: Deploy gitconfig + template: + src: templates/gitconfig + dest: /etc/gitconfig + owner: root + group: root + mode: '0644' + - name: Root password user: name: root diff --git a/templates/gitconfig b/templates/gitconfig new file mode 100644 index 0000000..cd7c8d7 --- /dev/null +++ b/templates/gitconfig @@ -0,0 +1,11 @@ +[alias] + co = checkout + ci = commit + st = status + br = branch + type = cat-file -t + dump = cat-file -p + hist = log -n 25 --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short + histall = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short + sh = !git remote -v && git br -a --color=never && git stash list && git status && git hist +