Lines Matching full:github
5 ## GitHub Upload+Update Script (V2, combined) for DevPlat Samples
27 Input an auth token to access the googlesamples GitHub org
44 to Github. (normally deleted upon exit) Preserves logs.
54 if [ -d "../github-temp$folderPS" ]; then
56 rm -rf ./github-temp$folderPS
57 elif [ -d "github-temp$folderPS" ]; then
58 rm -rf ./github-temp$folderPS
136 ## a repo for them on GitHub already - save results so we only do it once
147 URL=https://github.com/googlesamples/android-$i
174 mkdir github-temp$folderPS
175 cd github-temp$folderPS
180 URL=https://github.com/googlesamples/android-$i
253 #echo "Commencing Github updates"
261 Input a valid googlesamples GitHub access token to continue: " -r
270 --write-out '%{http_code}' "https://api.github.com/orgs/googlesamples/repos")
292 git remote set-url origin "https://$token@github.com/googlesamples/android-$i.git"
296 git remote set-url origin "http://github.com/googlesamples/android-$i.git"
308 if [ -d "../github-temp$folderPS" ]; then
322 https://api.github.com/orgs/googlesamples/repos"
329 https://api.github.com/teams/889856/repos/$repoName"
333 URL="https://$token@github.com/$repoName"
355 echo "User cancelled Github update."