Creating Project in Github

Lets say we are creating a project name library and username of the github account is ruby.

Step 1: Create a project in Github named library.

Step 2: Generate ssh key

Step 3: Create library project in your local machine and commit using git

git init
git add .
git commit -m 'Initial Commit'
git remote add origin
# for using ssh
git remote set-url origin
git push -u origin master



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s