1.首先你需要拥有Git和Github的账号
2.在本地新建项目的地址
![](https://img.haomeiwen.com/i6619460/9e840236a1e74d26.png)
3.当在github上新建项目完成之后,回到本地新建项目的地址,右键选择Git Bash Here
![](https://img.haomeiwen.com/i6619460/b3e904e10d2803a2.png)
4.如果在github上没有新建仓库的话,就新建一个仓库,不需要进行其他操作,然后与远程仓库建立连接。
![](https://img.haomeiwen.com/i6619460/de4d6af7c0195fcd.png)
![](https://img.haomeiwen.com/i6619460/880a5fd34abdc5ee.png)
5.随后输入git命令
![](https://img.haomeiwen.com/i6619460/835f915c058cad74.png)
![](https://img.haomeiwen.com/i6619460/34e564202e57e471.png)
![](https://img.haomeiwen.com/i6619460/29192b83a5794088.png)
6.这样就完成了上传项目到github。
![](https://img.haomeiwen.com/i6619460/67c84bb4639d38df.png)
1.首先你需要拥有Git和Github的账号
2.在本地新建项目的地址
3.当在github上新建项目完成之后,回到本地新建项目的地址,右键选择Git Bash Here
4.如果在github上没有新建仓库的话,就新建一个仓库,不需要进行其他操作,然后与远程仓库建立连接。
5.随后输入git命令
6.这样就完成了上传项目到github。
本文标题:利用Git上传项目到Github
本文链接:https://www.haomeiwen.com/subject/uludhxtx.html
网友评论