Browse Source

Update git setup

master
Jim Paris 2 years ago
parent
commit
e72564436c
2 changed files with 8 additions and 3 deletions
  1. +6
    -2
      .gitignore
  2. +2
    -1
      initial-setup.sh

+ 6
- 2
.gitignore View File

@@ -1,3 +1,7 @@
*.html *.html


Borg.bin
cache/
config/
key.txt
passphrase
ssh/

+ 2
- 1
initial-setup.sh View File

@@ -305,7 +305,8 @@ git_setup()
fi fi


log "Committing local changes to git" log "Committing local changes to git"
git status
git add README.md borg-backup.service borg-backup.timer borg.sh
git commit -a -m "autocommit after initial setup on $(hostname)"
} }


log "Configuration:" log "Configuration:"


Loading…
Cancel
Save