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--
Git commonly used command specific what, I believe that many inexperienced people are helpless about this, this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.
git help tutorial Get general help instructions
01
-
Create a local workspace
init Creates an empty Git library or initializes the current library again
clone clone a repository into a new working directory
02
-
native library
git help everyday for general help with local libraries
add Add file contents to index
mv move or rename files, directories, symlink
reset Reset the file header (HEAD) to a specific version number
rm removes files from the working directory tree and index
03
-
historical version
git help revisions, get general help for modified versions
bisect uses binary search to find submissions that introduce a bug
grep prints a list of rows and columns matching a particular pattern
log Displays the logs submitted
showDisplays various types of objects
status Shows the status of the working tree
04
-
branch management
branch display, create, delete branches
checkout Swap branches; restore files in the working tree
commit commits changes to the repository
diff shows differences between commit versions, commit and worktree versions, etc.
merge Combine 2 or more developments History
rebase Forward-port local commits to the updated upstream head
tag Create, list, delete or verify a tag object signed with GPG
05
-
multi-person collaboration
git help workflows Get general help
fetch downloads objects and references from another library
pull Pull from another repository or local branch to the current repository or branch
push updates local repository changes to remote repository
After reading the above content, do you know what specific methods git commonly used commands have? If you still want to learn more skills or want to know more related content, welcome to pay attention to the industry information channel, thank you for reading!
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.