git下载github上代码并提交本地代码到github中

 

git下载github上代码并提交本地代码到github中

下载github上的代码

git config --global user.name "你的名字"  名字最好和github上的一样

git config --global user.email "你的邮箱@你的邮箱.com"

git下载github上代码并提交本地代码到github中

定位到你要下载的位置:

git下载github上代码并提交本地代码到github中

获取你要下载的库地址

git下载github上代码并提交本地代码到github中

git clone 你要下载的代码

git下载github上代码并提交本地代码到github中

如图,已经下载下来了

git下载github上代码并提交本地代码到github中

提交到github

在要上传的位置创建文件

git下载github上代码并提交本地代码到github中

git add 文件

git commit -m "标记"

git push origin master

git下载github上代码并提交本地代码到github中

提交成功

git下载github上代码并提交本地代码到github中

git下载github上代码并提交本地代码到github中

 

相关文章:

  • 2021-08-08
  • 2022-12-23
  • 2022-12-23
  • 2022-02-01
  • 2022-01-29
  • 2021-11-06
  • 2021-05-29
猜你喜欢
  • 2021-08-29
  • 2021-06-16
  • 2022-12-23
  • 2022-12-23
  • 2021-06-18
  • 2021-08-04
  • 2021-07-27
相关资源
相似解决方案