Secure and Sensible git repo administration
Utilities for managing Git repositories and servers using only bash and ssh.
Read below for a quick description of each utility.
gsb.sh and gitsync.sh can be run directly from the repo directory.
On a production server, they probably belong in /usr/sbin.
To put them there, you can run
make test && make sudo make install
A bash script to administer Git repos on a server; accessed via ssh keypairs only.
Setting up and administering a secure git server can be kind of a pain.
This is solved by gsb.sh, which was thought up to be:
/usr/src/git location.See the gsb.sh documentation for details and examples.
Continuously updating a git repo from a remote source … safely.
There seems to be no tool for this; especially one which handles bare repos (synchronizing servers between each other).
This is requires care when development/commits may be happening in either (or both) locations and the wish is to avoid any unexpected behavior.
Use this script (e.g. as a cron job) to:
post-merge hook).See the gitsync.sh documentation.
Contributions are always welcome, in order of preference:
Docs are written in Markdown and then auto-generated with Jekyll.
If you would like to hack on the documentation:
.md extension[gsb](/notagit/docs/gsb.html)title: frontmatter at the top of every filegsb.shI called it notagit since by using these utilities, sysadmins everywhere
can demonstrate their outstanding, pragmatic intelligence and deep wisdom
in the way of unix things ;)
Also, it is literally not a Git, nor is it some extension to Git in yet-another-language-with-dependencies.