I am using Eclipse Helios and EGit. I am new to Git. I have an existing Eclipse project for an Android app I would like to place in Git. Can someone please share some instructions on how to setup a Git repo on a shared folder, and place the existing project into this git repo using EGit? I have tried a variety of options with no success.
Thanks!
Go to the "Git Repositories" view, open the tree of the repository you want, right-click on "Remotes" and select "Create Remote". Remote name is the alias, and the url is specified in the second step of the wizard. Brilliant. Thanks!
Open Eclipse and choose Import –> Projects from Git (with smart import) Choose the Clone URI option in the Git import wizard and click Next. Confirm the URI, Host and Repository path parameters and click Next. Choose the Git branches to clone from the remote repository and click Next.
I had the same question (how to do it in Eclipse / eGit), and I just found the answer to the question stated in the title :
Window
> Show Views
> Others
select Git repositories
Create Remote
Also, for creating a new project in Eclipse from an existing git repository with eGit, all you have to do is to go in File > Import...
and choosing Git/Projects from Git. Then follow the steps
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With