WALL-E / Practice

练习手册
0 stars 0 forks source link

github重建master分支 #19

Open WALL-E opened 7 years ago

WALL-E commented 7 years ago

git checkout -b temp upstream/master git push origin temp

github操作,点击后面的settings,将temp分支设置为default的分支

删除本地master分支 git branch -D master 删除远程分支 git push origin --delete master

git checkout -b master upstream/master git push origin master

github操作,点击后面的settings,将master分支设置为default的分支

删除本地master分支 git branch -D temp

删除远程分支 git push origin --delete temp

WALL-E commented 7 years ago

API

https://developer.github.com/v3/repos/#get