This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
tutorials:keepassgit [2011/05/18 12:12] – clemens | tutorials:keepassgit [2011/05/18 12:12] – clemens | ||
---|---|---|---|
Line 41: | Line 41: | ||
</ | </ | ||
+ | ==== Usage ==== | ||
+ | |||
+ | * Linux/Unix | ||
+ | * cd ~/keepass | ||
+ | * ./ | ||
+ | * Windows | ||
+ | * Right-Click on the folder that contains the script and database | ||
+ | * Click "Git BASH here" | ||
+ | * ./ | ||
+ | |||
+ | When you start the script, it will try to get the latest version of your keepass db. If there was no successful connection to the server, it will open a read-only version of keepass for you. If the Git pull was successful, the script generates a lock file globally and opens keepass. This prevents that you have opened keepass in write-mode on two or more locations simultanously. When you close keepass, all changes will be commited and pushed to your git server again. | ||
==== The Script ==== | ==== The Script ==== | ||
Line 77: | Line 88: | ||
- | ==== Usage ==== | ||
- | * Linux/Unix | ||
- | * cd ~/keepass | ||
- | * ./ | ||
- | * Windows | ||
- | * Right-Click on the folder that contains the script and database | ||
- | * Click "Git BASH here" | ||
- | * ./ | ||
- | |||
- | When you start the script, it will try to get the latest version of your keepass db. If there was no successful connection to the server, it will open a read-only version of keepass for you. If the Git pull was successful, the script generates a lock file globally and opens keepass. This prevents that you have opened keepass in write-mode on two or more locations simultanously. When you close keepass, all changes will be commited and pushed to your git server again. |