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

common.sh (205B)


      1 chomp_git_path() {
      2 	basename_raw=$(basename $1)
      3 	basename_chomped=${basename_raw%.git}
      4 	>&2 echo "checkout repo $basename_chomped ($1)"
      5 	basename_git=${basename_chomped}.git
      6 	echo -n $basename_git > $2	
      7 }