In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces what are the common commands of Git in python, which can be used for reference by interested friends. I hope you can learn a lot after reading this article.
1 、 Git fetch
Download all changes to the remote warehouse.
You can download the remote warehouse to a temporary branch and merge it as needed.
2. Git fetch and git merge
Can be seen as a decomposing action of the git pull command.
3 、 Git diff
It is often used to compare the differences between a workspace and a warehouse, a staging area and a warehouse, and between the two branches.
4 、 Git stash
Put the changes to the current workspace and staging area in the temporary area to make the workspace clean. This command applies to scenarios where the task at hand has not yet been submitted, but suddenly there is a more urgent task (such as online bug that needs to be modified) that needs to be dealt with.
5 、 Git reset
Return to the specified version. This command has three main parameters.
6 、 Git cherry-pick
Select a branch single commit and introduce it into your current branch as a new submission.
Git revert
Withdraw the submission information.
Git tag
Often used to view or add tags.
Example
Git stashgit stash listgit stash pop thank you for reading this article carefully. I hope the article "what are the common commands of Git in python" shared by the editor will be helpful to you. At the same time, I also hope that you will support us and follow the industry information channel. More related knowledge is waiting for you to learn!
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.