Getting Started with GitHub

GitHub is a development platform which you can use for source control. In this series of posts, we will look at how to sign up for and use GitHub. Go to https://github.com and click Sign up: Enter a username and password: And then select a plan: You can see the differences between the Personal and Team accounts: You will be asked to then verify your email address, and you will … Continue reading Getting Started with GitHub

Adding Users to a GitHub Repository

We have a private GitHub repo which looks like below: If a user that does not have access were to access this page, they would see: Type in a GitHub user name: The invited user will now see the invitation. They should click to Accept: And they will now see the repo: From the admin side, we see the user has accepted:  

Installing and Using GitHub Desktop on Windows

Before getting started, you will want to install Git on Windows. Once you have Git installed, let’s install GitHub Desktop for Windows. To install GitHub Desktop, go to https://desktop.github.com/ and click Download for Windows (64 bit): This will download the GitHubDesktopSetup.exe file. Click to open it: Click to create an account or sign in: We will sign into GitHub.com: Click Continue: Click Finish: We are logged in. We see a repo we … Continue reading Installing and Using GitHub Desktop on Windows

Installing Git on Windows using Git-Scm

To install Git on Windows, go to https://git-scm.com: and click on Download for Windows: Click to open the file: Click Next: And Next: Click Next: Click Next: Click Next: Click Next: Click Next: Click Next: Click Next: Click Next: Click Next: Click Install: Click Next: We see GitBash is open: You can now start using Git. To get the version of Git, type: git –version  

Creating a GitHub Wiki Documentation for Your Repository

In this post, we will look at how to create wiki documentation for your GitHub repository. This can be very useful to document your GitHub code. Let’s go through an example. Go to a GitHub repository, and in the menu you should see Wiki: Click Create the First Page: You should see something like below: We see the title of the page is Home, and it has some basic test. Let’s … Continue reading Creating a GitHub Wiki Documentation for Your Repository

How to Delete a Git Branch from Visual Studio

To delete a Git branch from Visual Studio, go to Branches: Ensure the branch you want to delete is not currently opened as your working branch, i.e. not bold: Right-click it and select Delete: The branch is now deleted:  

Cloning a GitHub Repository using Command Line

Let’s clone the GitHub repo located here. Click on Code: And copy the link: Make sure you have Git installed. Now open a command prompt, browse to the directory you want to clone the repo, and type in: git clone <paste your clipboard here> This will download the repo: And the files will be downloaded:  

Installing the Windows 10 SDK and Inpect.exe

To install Inspect.exe, do the following. First, let’s check if Inspect.exe already exists on your system. Go to C:\Program Files (x86)\Windows Kits\10\bin to see the Windows 10 SDKs: If we search for inspect.exe from this folder, we see there are several folders which contain this file: If you don’t have it, open the Visual Studio Installer: For any VS version, click on Modify: Select a Windows 10 SDK version, then … Continue reading Installing the Windows 10 SDK and Inpect.exe

How to Delete a GitHub Branch

To delete a GutHub branch go to the repo and select Branches: There is a delete icon: It will now show as Deleted: