gitrefresh

Easily export, reinitialize and update all git repositories in a file hierarchy
git clone git://git.defalsify.org/gitrefresh.git
Info | Log | Files | Refs | README | LICENSE

README.txt (506B)


      1 Generate a list of repositories from an existing file hierarchy:
      2 
      3 bash gitlist.sh <path>
      4 
      5 
      6 --
      7 
      8 Clone all repositories in a newline separated file of urls
      9 
     10 cat <file> | bash gitstart.sh
     11 
     12 
     13 --
     14 
     15 remote update (fetch) all repos in file hierarchy
     16 
     17 bash gitrefresh.sh update <path>
     18 
     19 remote update and pull (current branch) all repos in file hierachy
     20 
     21 bash gitrefresh.sh pull <path>
     22 
     23 --
     24 
     25 CAVEATS:
     26 
     27 - Remote name is hardcoded to "origin."
     28 
     29 - May give strange results on repositories that are in detached head state