Tutorial: Github Desktop
What is Github Desktop
You can do version control easily with Github Desktop SW instead of using Git command lines
Installation

2. Install the software. It will ask you to log-in your github account

Tutorial 1**: Version Control (main branch)**
1. Creating Repository and Cloning in Local Drive
Go to github site and create a new repository

Create a public repository 'tutorialNM'. Check add 'README' file

Click 'Set up in Desktop'

Choose your local drive folder path to clone a repository. This is making a copy of the repository in your local server/drive.

You can check which files have been saved in your local drive by clicking 'Show in Explorer'

2. Add and Modify Documents
Try to add or modify documents in the repository

You will see the history of changes in Desktop GUI

Tutorial 2. Collaboration Using Branch
1. Create a file in local computer and Publish/Pull to the remote
In Desktop, create or copy a source file. Example: "tutorialNM.h"

Create a Branch. Lets call it as "NM-header-edit"


Now, Commit to the branch.

Publish your branch: Publishing to the remote (Github website) ** Ctrl+P
**
Pull Request to Propose the change

It will open a pull request in website. Click 'Create Pull Request'

If the modification is acceptable, then 'Merge pull request'. Then Confirm the merge.

2. Modify/Update the version of the file
Modify tutorialNM.h
in the local drive.

Commit the modification
Push Origin: Ctrl+P
Open Pull Request: Ctrl+R.

Confirm merge to the main branch if the change is acceptable.
Last updated
Was this helpful?