In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Step 1: cd to your local directory and execute the git command
Git init / * version library initialization command * /
You can then see a hidden .git folder in the local directory, and the local directory and its subdirectories are the workspace.
Step 2: submit the directory or file to the staging area and execute the git command
Git add. / File name
This command submits the local directory or file to the staging area.
Step 3: submit the files of the temporary storage area to the version library and execute the git command
Git commit-m "comments"
Note: the file has been changed at this time. If you want to submit the modified file to the version library, you must first store the modified file in the temporary storage area by git add, and then submit the file from the temporary storage area to the version library by git commit.
Step 4: create your own repository on GitHub, as follows:
Step 5: associate the local version library to GitHub and execute the git command
Git remote add origin https://github.com/zdandan212/zhaoxiaohu
The address above is the repository address you created.
Step 6: push the current master branch to the corresponding branch of the default host (master)
Git push origin master
Step 7: the-u option specifies a default host so that git push can be used later without any parameters.
Git push-u origin master
OK if there are no mistakes.
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.