In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article focuses on "how to install and use the distributed version control system GitHub in Linux". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to install and use the distributed version control system GitHub in Linux.
1. Register an account on the website, create a project test to enter the project, and there will be an address of the project warehouse in the lower right corner.
Install github under 2.Linux
Sudo apt-get install git git-core git-doc
3. Create rsa public key
Ssh-keygen-t rsa-C "your_email@youremail.com"
One of them needs to fill in the password in the whole process.
Then enter the ~ / .ssh directory to find the public key id_rsa.pub
Notepad opens and copies the text
Enter the settings in github.com, find the pubkey option, and fill in the public key.
Fill in the proposition casually
4. Set account information
Git config-global user.name "lukeyan"
Git config-global user.email xxx@gmail.com
5. Test links:
If there is you've successfully authenticated, but GitHub does not provide shell access. This means that it has become a link
Next, upload:
Git init
Git add . # if so. Means to upload files in all directories, which can be a file
Git commit-m 'version 1.0'
Git remote add origin https://github.com/ username / test.git
Git push origin master-f
At this point, I believe you have a deeper understanding of "how to install and use the distributed version control system GitHub in Linux". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue 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.