In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to use eclipse to upload code to GitHub. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
Now the latest version of eclipse has integrated the git plug-in, so you can use it directly. Suppose we have a HelloWorld project to upload to GitHub management:
The first thing to do is to create a warehouse on GitHub. The warehouse name should be the same as the project name:
Description can write whatever you want, and you can choose public or private. Public everyone can see your project, and private can only see it by itself or authorized users.
After you have created it, copy this address down and use it later:
Going back to eclipse, right-click the HelloWorld project (Team-> Share project...):
Check these boxes, create a local warehouse, and finally click finish:
After creating the local warehouse, right-click the project, Team- > Commit....:
In the lower right corner, click the + + sign to temporarily store all files in the local warehouse:
After the local commit, then we push to the remote warehouse, but at this time the push will not work, and the version error will be reported. Let's merge the pull of the remote warehouse with the local one:
Fill in the address just written down by GitHub, fill in the user name and password, and then next all the way:
After the pull is finished, we can push it. Right-click the project: Team- > remote- > push..., still fill in the address, account number and password, and then next:
Select the master branch here, then add spec, and finally click finish:
And then it worked:
The final effect is as follows:
This is the end of the article on "how to upload code to GitHub using eclipse". 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 out 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.