0% found this document useful (0 votes)
52 views

Github Tutorial

The document provides instructions for contributing to a GitHub repository. It outlines 9 steps: 1) creating a GitHub user account, 2) identifying the target repository, 3) downloading GitHub Desktop, 4) cloning the repository locally, 5) adding and committing changes locally, 6) syncing local commits to the remote repository, and 7) reverting commits if needed. The goal is to allow contributors to work on files in the repository and sync their changes.

Uploaded by

Arshad Ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views

Github Tutorial

The document provides instructions for contributing to a GitHub repository. It outlines 9 steps: 1) creating a GitHub user account, 2) identifying the target repository, 3) downloading GitHub Desktop, 4) cloning the repository locally, 5) adding and committing changes locally, 6) syncing local commits to the remote repository, and 7) reverting commits if needed. The goal is to allow contributors to work on files in the repository and sync their changes.

Uploaded by

Arshad Ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

1. Create a user in Github (www.github.

com)
a. Tell me your username so I can add you as a contributor (which will allow you to work on the files)
2. Our repository (where all the files) is in https://github.com/boonkey/AdExchange
3. Go to https://desktop.github.com/ and download (it's very good and very user friendly).
4. This is the main screen:

5. Click on the plus on the top left corner, and select "Clone"

6. Select a place for the repository on your computer (it will create the folder automatically)
7. Add your changes in the local folder you chose on step 6(for example, this document)
a. If you lost it, the software can open the folder for you
8. Return to github desktop. You'll see your changes.
a. Select the files you want to upload
b. Add a summery and description (Required!)
c. Click "Commit to master"

9. Now you have staged a commit, meaning your files are ready to be uploaded and synced with the remote
repository.
a. On the top right corner (in black) you will find "Sync" button.
Try and use it. It will push your commit to the remote repository
b. You can also revert your commit, in case you made a mistake
i. After committing to a change, you can only revert it to cancel the operation, so make sure to
commit only what you are sure is good

You might also like