Keep track of your git repositories in the CLI.
Info • Install • Usage • License
dgit is built for people that want a low-friction solution to organizing and keeping track of git repositories stored in a git server on their local network.
- git
- ssh
- ldc (D compiler)
- a unix (e.g macOS or gnu/linux) ssh server
- ssh auth setup between machine and server
Clone this repo and run the provided install script (at your own risk).
git clone --depth=1 https://github.com/simon-danielsson/dgit.git
cd dgit
chmod +x install.sh
./install.shdgit runs shell commands on the ssh server address you provide, including
find and rm -rf. Be smart - run this program in a test environment first to verify that it's not going to break stuff. I am not to be held accountable if you end up breaking your system.
On the machine where you will be executing dgit, you have to configure
persistence of your ssh connections (so that repo lookups run faster).
This is done via the options ControlMaster, ControlPath and ControlPersist.
# ~/.ssh/config
# fill in the blanks "{}"
Host {hostname alias}
HostName {ip address #.#.#.#}
User {user}
IdentityFile ~/.ssh/id_ed25519 # or wherever you've got that set up
ControlPath ~/.ssh/cm-%r@%h:%p # leave this alone
ControlMaster auto # leave this alone
ControlPersist 5 # connection persists for 5 secondsRun dgit help for details on usage.
This project is licensed under the MIT License.
