mdisk: Remove color from "Already mounted" message
[sunny256-utils.git] / push-annex-sunbase
blobd93dbbc16fb87d9bb14b61e4acb8c611df11838a
1 #!/usr/bin/env bash
3 #=======================================================================
4 # push-annex-sunbase
5 # File ID: a729a2de-e5f1-11e3-9bb4-c80aa9e67bbd
6 # Push all annexes to sunbase
7 # License: GNU General Public License version 2 or later.
8 #=======================================================================
10 annex-cmd -g -e 'git remote add sunbase $GR/annex-$(basename $(pwd)).git; git fetch --all --prune; git dangling; git push --all sunbase; git dangling -D; git remote rm sunbase'