Robert R Evans | 9c7cd9a | 2010-10-02 11:55:34 -0700 | [diff] [blame] | 1 | function git_remote { |
2 | echo "Running: git remote add origin ${GIT_HOSTING}:$1.git" | ||||
3 | git remote add origin $GIT_HOSTING:$1.git | ||||
4 | } | ||||
5 | |||||
6 | function git_first_push { | ||||
7 | echo "Running: git push origin master:refs/heads/master" | ||||
8 | git push origin master:refs/heads/master | ||||
9 | } | ||||
10 | |||||
11 | function git_remove_missing_files() { | ||||
12 | git ls-files -d -z | xargs -0 git update-index --remove | ||||
13 | } |