In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
1, list the remote warehouse git remote show origin
2. View the remote branch git branch-a
3, create a branch
1) create a develop branch locally
Git checkout-b develop
If we are just push commands at this time
Git push
The information obtained is as follows
Fatal: the current branch develop has no corresponding upstream branch. Push the current branch and set remote to upstream, using git push-- set-upstream origin develop
Then we will carry out the order.
At this point, we take a look at GitHub and find that the develop branch has also been created.
2) create a release branch (check out from the develop branch)
The local is created directly on GitHub. First switch to the develop branch, then enter release in the query box in the branch drop-down, and finally click create.
Then we look at the branches locally
Git branch-r
It can be seen that our new release branch does not exist in the local branch. Then we pull it to the local.
Git fetch origin
Then we can successfully switch to the release branch.
Git checkout release
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.