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 > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article will explain in detail how to use gitadd for you. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
The function of gitadd [parameter] [-] / / is to add the code we need to submit from the workspace to the staging area, which is to tell the git system which files we want to submit, and then we can use the gitcommit command to submit. Use it all below for convenience. To identify the path. Indicates the current directory, the path can be modified, and the scope of the following operations is within the version library.
What's in the gitadd version?
Gitadd.
Default is to add modified files and untracked newly added files to the temporary storage area of the git system without parameters. Note that deletion is not included.
Gitadd-u.
-u==--update, which means that files that have been tracked for modifications and deletions are added to the staging area, excluding newly added files. Note that the deleted files will disappear from the git system after they are added to the staging area and then submitted and pushed to the server's version library.
How to use gitadd
Gitadd-A.
-A==--all, which means that all tracked file modifications and deletions and new untracked files are added to the staging area.
Gitadd-i.
Knowing the first three commands in your daily work is enough to meet our needs, but it's also good to know about this interactive picking operation. This command also acts on files that have been modified and deleted in files that have been tracked in the version library.
Gitadd-i
Stagedunstagedpath
1:+0/-0nothingTestfile
* Commands***
1:status2:update3:revert4:adduntracked
5:patch7:diff7:quit8:help
Whatnow >
This is the end of the article on "how to use gitadd". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
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.