git步骤

1、New一个Repositories

2、拿到这个仓库的URL

3、git clone https://github.com/zhuobo/new.git

4、进入到clone下来的文件夹,然后git init

5、比如添加一个文件test.cpp, 使用命令 git add test.cpp

6、git commit -m "一些备注",添加备注

7、git push origin master

备注:add --> commit --> push

猜你喜欢

转载自www.cnblogs.com/zhuobo/p/10624848.html
今日推荐