This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
tutorials:keepassgit [2011/05/18 12:12] – clemens | tutorials:keepassgit [2011/05/18 12:14] – clemens | ||
---|---|---|---|
Line 57: | Line 57: | ||
<code bash> | <code bash> | ||
#!/bin/bash | #!/bin/bash | ||
+ | |||
git pull origin master | git pull origin master | ||
+ | |||
if [ $? -gt 0 ]; then | if [ $? -gt 0 ]; then | ||
echo " | echo " | ||
Line 76: | Line 78: | ||
touch keepass.kdb.scriptlock | touch keepass.kdb.scriptlock | ||
git add keepass.kdb.scriptlock | git add keepass.kdb.scriptlock | ||
- | git commit -am "lock file erstellt" | + | git commit -am "created |
git push | git push | ||
keepassx keepass.kdb | keepassx keepass.kdb | ||
rm keepass.kdb.scriptlock | rm keepass.kdb.scriptlock | ||
git rm keepass.kdb.scriptlock | git rm keepass.kdb.scriptlock | ||
- | git commit -am "lock file geloescht" | + | git commit -am "deleted |
git push | git push | ||
fi | fi |