Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save developer-anuragsingh/30c19900f4827c57790e8d1cbd891e9a to your computer and use it in GitHub Desktop.
Save developer-anuragsingh/30c19900f4827c57790e8d1cbd891e9a to your computer and use it in GitHub Desktop.
Step 1 - Login to https://github.com/
Step 2 - Create a new repository https://github.com/new
Step 3 – optional – Add description
Step 4 – optional – select check box showing “Initialize this repository with a README””
Step 5 – optional – Select appropriate “gitignore”.
Step 6 – optional – Select appropriate “License”.
Step 7 – Click on “Create repository”
Step 8 – Click on link named as “clone or download” and copy the URL named as “Clone with HTTPS”
Step 9 – Go to https://desktop.github.com/
Step 10 – Download “github desktop” for window 7 or later
Step 11 – Install the downloaded file
Step 12 – Search and open “git shell” in your computer installed program
Step 13 – Locate the appropriate directory where you want to clone your repository with basic command line codes, like – cd localhost\htdocs\wp
Step 14 – Type - git clone https://github.com/USER-NAME/YOUR-GIT-NAME.git (Paste the URL which we copied in step 8)
Step 15 – That’s it, you successfully clone your repository into your local machine
Step 16 – To upload your changes to remote repository, first make all changes and updates to be done
Step 17 – Type – git add .
Step 18 – Type - git commit –m “your commit related to new changes”
Step 19 – Type - git push origin
Step 20 – If asked than provide you github’s credentials (User/Password)
Step 21 – That’s it, you have successfully upload all the new changes to remote repository
Step 22 – Go to you github account online and see the new change must be uploaded over there
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment