当前位置:网站首页>提交本地仓库并同步码云仓库
提交本地仓库并同步码云仓库
2022-04-23 05:52:00 【三笑痴513】
1.开启一个新终端
2.查看状态(新修改的是红色)
git status
3.全部添加到暂存区
git add .
4.再次查看下状态(都会变成绿色)
git status
5.提交到本地仓库中
git commit -m "描述文字"
6.查看分支
git branch
7.切换到主分支master
git checkout master
8.再次查看分支
git branch
9.合并分支
git merge 要合并的分支
10.远程推送
git push
推送全新的分支到码云:
先切换到要推送的分支,如何执行如下命令
git push -u origin 分支名称
版权声明
本文为[三笑痴513]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_60248719/article/details/120609854
边栏推荐
猜你喜欢
随机推荐
汇编 32位无符号加法计算器
[UDS unified diagnostic service] II. Network layer protocol (2) - data transmission rules (single frame and multi frame)
【UDS统一诊断服务】四、诊断典型服务(4)— 在线编程功能单元(0x34-0x38)
带默认模板实参的类模板与模板模板形参的匹配
基于TensorFlow的线性回归实例
VHDL 有限状态机(FSM) 代码示例
[stepping on the pit] MELD in win11 wsl2 cannot be used normally. Problem repair
三极管原理及特性分析
Round up a little detail of the round
【UDS统一诊断服务】五、诊断应用示例:Flash Bootloader
SQLite compilation
WMI技术介绍和应用
Initialization of classes and objects (constructors and destructors)
C51/C52 特殊功能寄存器表
基于VGG对五种类别图片的迁移学习
基于SSD的物体检测案例实现
拷贝构造函数
CUDA environment installation
C语言代码规范
SDOI2009-HH的项链









