当前位置:网站首页>Submit local warehouse and synchronize code cloud warehouse
Submit local warehouse and synchronize code cloud warehouse
2022-04-23 17:47:00 【Sanxiaochi 513】
1. Open a new terminal
2. Check the status ( The new revision is red )
git status
3. Add all to staging area
git add .
4. Check the status again ( Will turn green )
git status
5. Submit to local warehouse
git commit -m " Descriptive text "
6. View branches
git branch
7. Switch to main branch master
git checkout master
8. Look at the branches again
git branch
9. Merging branches
git merge Branches to merge
10. Remote push
git push
Push new branches to the code cloud :
First switch to the branch to be pushed , How to execute the following commands
git push -u origin Branch name
版权声明
本文为[Sanxiaochi 513]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230550325504.html
边栏推荐
- C1小笔记【任务训练篇二】
- Leak detection and vacancy filling (6)
- Router object, route object, declarative navigation, programmed navigation
- SiteServer CMS5. 0 Usage Summary
- Dry goods | how to extract thumbnails quickly?
- 练习:求偶数和、阈值分割和求差( list 对象的两个基础小题)
- 209. Minimum length subarray - sliding window
- How to manually implement the mechanism of triggering garbage collection in node
- Chrome浏览器的跨域设置----包含新老版本两种设置
- 常用SQL语句总结
猜你喜欢
C1小笔记【任务训练篇二】
PC uses wireless network card to connect to mobile phone hotspot. Why can't you surf the Internet
Advantages and disadvantages of several note taking software
PC电脑使用无线网卡连接上手机热点,为什么不能上网
48. 旋转图像
Leak detection and vacancy filling (6)
102. 二叉树的层序遍历
QT modification UI does not take effect
stm32入门开发板选野火还是正点原子呢?
Why do some people say SCM is simple and I have to learn it so hard?
随机推荐
In ancient Egypt and Greece, what base system was used in mathematics
Add drag and drop function to El dialog
Listen for click events other than an element
1217_使用SCons生成目标文件
Comparison between xtask and kotlin coroutine
高德地图搜索、拖拽 查询地址
On the problem of V-IF display and hiding
索引:手把手教你索引从零基础到精通使用
剑指 Offer 03. 数组中重复的数字
Flask项目的部署详解
干货 | 快速抽取缩略图是怎么练成的?
ros常用的函数——ros::ok(),ros::Rate,ros::spin()和ros::spinOnce()
【Appium】通过设计关键字驱动文件来编写脚本
How to use the input table one-way service to send (occupy less) picture files (body transmission)? FileReader built-in object involved
In embedded system, must the program code in flash be moved to ram to run?
2022制冷与空调设备运行操作判断题及答案
Construction of functions in C language programming
JVM class loading mechanism
958. Complete binary tree test
Learning record of uni app dark horse yougou project (Part 2)