In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the relevant knowledge of "the actual operation of Git branch development". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
1. Everyone develops the operation flow in this way on a branch, which is not much different from svn. It is simple and rough local operation: first git add and then git commit remote synchronous operation: first git pull and then git push. If it is a collaborative development by multiple people, you will find that every time you push after pull, there will be one more merge record. If you don't think it looks good, you can follow the following process: first git pull, then git rebase the last git push2, pull a new branch for each requirement, for example, the oa project has a new requirement, 101git checkout-b feature-oa-101 development, complete, after local commit, do not push to remote Then merge: git checkout devgit merge-- no-ff-m "merge feature-oa-101 to dev with no-ff" feature-oa-101git push and then delete branches: git branch-d feature-oa-101 if not merged, make sure that this requirement is definitely not wanted, do not merge, directly delete: git branch-D feature-oa-101 "actual operation of Git branch development" content is introduced here, thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.