git 关联远程分支

1。git init
当前的工程就会成为一个git 仓库
2. git remote add origin https://**
3. git branch –set-upstream-to=origin/master
4. git pull –rebase
5git push

参考:http://www.cnblogs.com/mengdd/p/3447464.html

原文地址:https://www.cnblogs.com/caoxinyu/p/10568582.html