I worked with class mates on a project to build a static website using CSS and HTML. Then we used visual studios and our work was synchronized with GitHub. Now we are asked to continue our work adding PHP files using Eclipse IDE. My question is how can I add the existing repo on eclipse and share it with my friends?
CodePudding user response:
You would add it to the list of Git Repositories that Eclipse knows of, and then import the interesting part (or whole) of the working directory as a project. Check the online User Guide:
Install updates (Newer code version)
git pull origin main
Git fetch
- Updates the current local working branch (currently checked out branch) Updates the remote tracking branches for all other branches.
- Updates the remote tracking branches for all other branches.
from freeCodeCamp
TLDR;
git pull REMOTE-NAME BRANCH-NAME
PHP Composer
{
"repositories": [
{
"url": "https://github.com/NAME/URI",
"type": "git"
}
]
}