From 920c3f0fc3ce0b0e1898a543c42c0053e1640cca Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Mon, 21 Jul 2014 14:23:50 +0200 Subject: [PATCH] Example config and howto for update_repos --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index eb64985..07f50d3 100644 --- a/README.md +++ b/README.md @@ -10,3 +10,27 @@ sh install.sh # Fix for shift+F6 in tmux (and screen probably) In tmux, do `infocmp > screen-256color`. Add the line `kf16=\E[17;2~,` and compile the file with tic. This will result in `~/.terminfo/s/screen-256color` with the correct keycode for shift+F6. `.tmux.conf` needs the line `setw -g xterm-keys on` for it to register correctly. + +# ~/.git_repos config file + +The update_repos script takes the ~/.git_repos config file and lets you update and clone your projects automatically (or at least in a batch). In the example the first four repos are located in ~/workspace/projects/github, and the other two in workspace/projects/others and workspace/projects/private respectively; then the workspace and group are empty, so mydocs is cloned into the homedir. At the moment, only paths relative to the user's homedir are supported. + +``` +workspace=workspace/projects +group=github +git@github.com:aquatix/ns-api.git +git@github.com:aquatix/dotfiles.git +git@github.com:aquatix/dammit.git +git@github.com:aquatix/imagine.git + +group=others +https://github.com/Azelphur/pyPushBullet.git + +group=private +ssh://myserver/srv/git/privdotfiles.git + +# Homedir as workspace: +workspace= +group= +ssh://myserver/srv/git/mydocs.git +```