孟宁软件工程:linux下上传github

自己的工程,直接在main里面该
记得设置

一定要先设置好你自己是谁啊………………

[yangni@yangni fistlab]$ git config --global user.name "yangni"   
[yangni@yangni fistlab]$ git config --global user.email 497049229@qq.com
git clone https://github.com/zxmcoder/test
cd test
mkdir lab1
vim hello.c
gcc -o hello hello.c
git add hello.c
git commit -m "hello world"
git push

创建新分支!!!不能直接上传到master,会被打死的……

全部评论

相关推荐

牛客38347925...:9,2学生暑期实习失利开始投小厂,给这群人整自信了
点赞 评论 收藏
分享
不愿透露姓名的神秘牛友
07-03 17:30
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务