当前位置:网站首页>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
边栏推荐
- 剑指 Offer 03. 数组中重复的数字
- 2022年上海市安全员C证操作证考试题库及模拟考试
- 2022年流动式起重机司机国家题库模拟考试平台操作
- 2022 tea artist (primary) examination simulated 100 questions and simulated examination
- 2022年茶艺师(初级)考试模拟100题及模拟考试
- 92. 反转链表 II-字节跳动高频题
- Leak detection and vacancy filling (VII)
- 古代埃及希腊,数学用的什么进制
- PC电脑使用无线网卡连接上手机热点,为什么不能上网
- Router object, route object, declarative navigation, programmed navigation
猜你喜欢
Land cover / use data product download
Detailed deployment of flask project
极致体验,揭晓抖音背后的音视频技术
Flask项目的部署详解
In embedded system, must the program code in flash be moved to ram to run?
练习:求偶数和、阈值分割和求差( list 对象的两个基础小题)
Why do some people say SCM is simple and I have to learn it so hard?
Learning record of uni app dark horse yougou project (Part 2)
394. 字符串解码-辅助栈
48. Rotate image
随机推荐
1217_ Generating target files using scons
Land cover / use data product download
Cross domain settings of Chrome browser -- including new and old versions
470. Rand10() is implemented with rand7()
Future 用法详解
198. Looting - Dynamic Planning
Flask项目的部署详解
Advantages and disadvantages of several note taking software
剑指 Offer 03. 数组中重复的数字
[ES6] promise related (event loop, macro / micro task, promise, await / await)
MySQL installation
MySQL进阶之索引【分类,性能分析,使用,设计原则】
The JS timestamp of wechat applet is converted to / 1000 seconds. After six hours and one day, this Friday option calculates the time
On the problem of V-IF display and hiding
In embedded system, must the program code in flash be moved to ram to run?
C1小笔记【任务训练篇一】
41. 缺失的第一个正数
1217_使用SCons生成目标文件
Commonly used functions -- spineros:: and spineros::)
Metaprogramming, proxy and reflection