GitHub Setup
GitHub Setup
1. Project will be safely saved in the repository(cloud) . So in case the local code is deleted in the
system, we can use the github to get back the code.
2. While working with big team (multiple members team), sharing the code, committing, updating
is very easier. So, version control(github) solves this problem.
Step 4: Give meaningful project name Eg: JavaforAutomation, Description, Select public , check README
document and then click on “Create repository”
Step 3: In top right corner click on + symbol and select the “New Repository” option.
Step 5: Repository created successfully
Note:
Go to settings:
Navigate to Developer settings -> Personal Access Token
Note: The highlighted password needs to be used in the Eclipse IDE while access the project rather
than Github login credentials. From 15th Aug 2021 this process is implemented.
Step 6: Open eclipse and select the “Other” view either using menu bar or shortcut
Step 11: Paste the URL in the Clone Git Repository under URL field
Step 12: Now enter the github user name and generated token and check the store in secure store and
then click on Next button
Step 13 : By default master will be selected. Now Click on Next again.
Step 14 : Click on Finish ( If you want , you can change the directory)
Step 15 : If you want to provide password hint , you can do it. Click on No
Step 16 : Github clone is created in the local
Step 22: Select the Repository(github) using the dropdown icon. Click on Finish
Step 23: The Java project Icon will be changed
Step 24 : Right click on the project , Select Team and then Click on Commit.
Step 25 : Git staging window will be displayed.
Step 26 : Drag and drop the files from Unstaged changes to Staged Changes, then enter the Commit
message and click on Commit and Push
**********************************End of Document************************************