Consider the workflow for you to begin development work on existing project with developers. The development work is being done in eclipse using Java, Junit and Git. The project is stored on a Github repository. You will be given access to the project in GitHub.
PROVIDE DETAILED EXPLANATION AND GIVE COMMANDS REQUIRED TO COMPLETE THE TASK
What should you do, using Git, to begin work without disrupting the work of other team members? How can Git allow you to work on your own version of the master branch?
Github is a web-based platform used for version control. Git simplifies the process of working with other people and makes it easy to collaborate on projects. Team members can work on files and easily merge their changes in with the master branch of the project.
Introdution :
To be very crisp about it, GitHub is a file or code sharing service to collaborate with different people.
GitHub is a highly used software which is typically used for version control. It is helpful when more than just one person is working on a project. Say for example, a software developer team wants to build a website and everyone has to update their codes simultaneously while working on the project. In this case, Github helps them to build a centralized repository where everyone can upload, edit and manage the code files.
GitHub has various advantages but many people often have a doubt
as to why not use dropbox or any cloud based system? Let me take
the same example forward to answer this question. Say more than two
software developers are working on the same file and they want to
update it simultaneously. Unfortunately, the person who save the
file first will get precedence over the others. While in Github,
this is not the case. Github document the changes and reflect them
in an organized manner to avoid any chaos between any of the files
uploaded.
Therefore using GitHub centralized repository, it avoids all the
confusion and working on the same code becomes very easy.
If you look at the image on the left, GitHub is a central repository and Git is a tool which allows you to create a local repository. Now people usually get confused between git and GitHub but its actually very different. Git is a version control tool that will allow you to perform all kinds of operations to fetch data from the central server or push data to it whereas GitHub is a core hosting platform for version control collaboration. GitHub is a company that allows you to host a central repository in a remote server.
Now let me list down the ways in which GitHub makes git simple:
Steps to Push project on Github using eclipse :
Open Eclipse.
Get Answers For Free
Most questions answered within 1 hours.