Add etckeeper
This commit is contained in:
parent
6f8242f830
commit
cd31c4ebe1
1 changed files with 13 additions and 0 deletions
13
configs.yml
13
configs.yml
|
@ -128,6 +128,19 @@ git:
|
||||||
- dotfiles/git/ignore
|
- dotfiles/git/ignore
|
||||||
- ~/.config/git/ignore
|
- ~/.config/git/ignore
|
||||||
|
|
||||||
|
etckeeper:
|
||||||
|
- install:
|
||||||
|
- etckeeper
|
||||||
|
- run:
|
||||||
|
- sudo git config --global user.name "root@$(uname -n)";
|
||||||
|
sudo git config --global user.email "root@$(uname -n)";
|
||||||
|
sudo git config --global init.defaultBranch "main"
|
||||||
|
- run:
|
||||||
|
command: sudo etckeeper init
|
||||||
|
condition: "[ ! -d /etc/.git ]"
|
||||||
|
- run:
|
||||||
|
- sudo etckeeper commit "First commit"
|
||||||
|
|
||||||
git-summary:
|
git-summary:
|
||||||
- clone:
|
- clone:
|
||||||
- https://gitlab.com/lordadamson/git-summary.git
|
- https://gitlab.com/lordadamson/git-summary.git
|
||||||
|
|
Loading…
Add table
Reference in a new issue