Presentation is loading. Please wait.

Presentation is loading. Please wait.

Setting up Git, GitBash, and GitHub

Similar presentations


Presentation on theme: "Setting up Git, GitBash, and GitHub"— Presentation transcript:

1 Setting up Git, GitBash, and GitHub

2 https://git-scm.com/downloads

3

4

5

6

7 Start GitBash

8 Setup ssh using GitBash command line https://help. github
ssh-keygen -t rsa -C Example: Register this key with the GitBash application. //starts the ssh agent, note the ` from the ~ key ssh-add ~/.ssh/<name of rsa file> Public key default location on windows 7: C:\Users\<username>\.ssh\id_rsa.pub ssh-keygen -t rsa –C eval $(ssh-agent -s) ssh-add ~/.ssh/id_rsa.pub

9 Add this public key to your GitHub account

10 Add the ssh key to your GitHub account
Make sure to give it a title that will help you remember where it came from when you look at it again in about a year or two.

11 Create Git Repository on your local machine
Create at Git repository on your local machine. git init

12 Make empty repository on GitHub

13 Your new empty GitHub repository

14 Push local repository to GitHub
This is how to push a local repository to an empty repository on GitHub. git remote add origin git push -u origin master

15 Clone a repository from GitHub
git clone


Download ppt "Setting up Git, GitBash, and GitHub"

Similar presentations


Ads by Google