diff options
author | Martin Polden <martin.polden@gmail.com> | 2017-05-18 18:58:24 +0200 |
---|---|---|
committer | Martin Polden <martin.polden@gmail.com> | 2017-05-18 18:58:24 +0200 |
commit | df01fb63ac0a5ccedb9f3650aa1147903390d587 (patch) | |
tree | ef84e939f3dd22443e35ed63dff6b7472d3d4b04 | |
parent | 0cbf424dfd5af20c00879792ac650bd452bbdddc (diff) |
Update readme
-rw-r--r-- | README.md | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -8,19 +8,19 @@ A backup tool for GitHub repositories. Configure [GOPATH](https://golang.org/doc/code.html#GOPATH) and run: - $ go get github.com/martinp/ghm + $ go get github.com/mpolden/ghm ## Examples -Mirror all public repositories of user *martinp* into `~/git`: +Mirror all public repositories of user *mpolden* into `~/git`: - $ ghm martinp ~/git + $ ghm mpolden ~/git Print git commands that would be run: - $ ghm -n martinp ~/git + $ ghm -n mpolden ~/git /usr/bin/git -C /home/martin/git/dotfiles.git fetch --prune - /usr/bin/git clone --mirror git@github.com:martinp/emacs.d.git /home/martin/emacs.d.git + /usr/bin/git clone --mirror git@github.com:mpolden/emacs.d.git /home/martin/emacs.d.git ... *NOTE: If the repository doesn't already exist on disk, `git clone` will be run, @@ -29,12 +29,12 @@ otherwise the repository is updated using `git fetch`.* Speed up mirroring by running git commands concurrently: # Updating 52 repositories with concurrency level 1 (default) - $ time ghm -q martinp ~/git - ghm martinp ~/git 0.88s user 0.06s system 1% cpu 1:30.71 total + $ time ghm -q mpolden ~/git + ghm mpolden ~/git 0.88s user 0.06s system 1% cpu 1:30.71 total # with concurrency level 20 - $ time ghm -c 20 -q martinp ~/git - ghm -c 20 -q martinp ~/git 0.88s user 0.13s system 16% cpu 5.995 total + $ time ghm -c 20 -q mpolden ~/git + ghm -c 20 -q mpolden ~/git 0.88s user 0.13s system 16% cpu 5.995 total ## Usage ``` |