GIT() {
-
- CMD git "$@"
+ CMD git "$@"
}
INFO "cloning MDG $OSM_MDG from $OSM_GIT_URL/$OSM_MDG"
GIT clone $OSM_GIT_URL/$OSM_MDG
cd $OSM_MDG
- for remote in `git branch -r`; do GIT branch --track ${remote#origin/} $remote; done
+ for remote in `git branch -r |grep -v /HEAD`; do GIT branch --track ${remote#origin/} $remote; done
fi
if [ $# -gt 0 ]; then
fi
}
+