Gitを使用してGithubとインタラクティブ-pushとclone

655 ワード

Githubからcloneブランチ(Google sample):
git clone https://github.com/googlesamples/android-architecture.git
git branch -a //      
git checkout -b local-branch-name origin/todo-mvp //-b                      .       git branch -a            

リモート・ウェアハウスにプッシュする場合
git remote add origin [email protected]:yourId/yourRepository
git push -u origin

よく知られている壁のため、pushができない可能性が高いので、Timeoutを提示します.簡単な方法はhttpのエージェントを作ることです
git config --global http.proxy ip:port
git config --global https.proxy ip:port


最後にまた
git push -u origin

ローカルoriginリモートブランチpushをアップ