mirror of https://github.com/YGGverse/howtools.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
528 B
22 lines
528 B
![]()
5 months ago
|
#!/bin/bash
|
||
|
|
||
|
# Sync local database with howto-db repository
|
||
|
|
||
|
# =========================================================================
|
||
|
# Configuration
|
||
|
# =========================================================================
|
||
|
|
||
|
cd /home/bdoku/howto-db
|
||
|
|
||
|
CommitMessage=$(date -d "$date -1 days" +"%F")-23-30
|
||
|
|
||
|
# =========================================================================
|
||
|
# Begin upgrade
|
||
|
# =========================================================================
|
||
|
|
||
|
git add .
|
||
|
|
||
|
git commit -m $CommitMessage
|
||
|
|
||
|
git push
|