MainakRepositor / Git-steps

The series of steps you can use to commit a document in your GitHub from your local device, remotely.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Git-steps

The series of steps you can use to commit a document in your GitHub from your local device, remotely.

--------------- STEPS TO MAKE A REMOTE GITHUB REPOSITORY-----------------


--------------- MADE BY MAINAK CHAUDHURI ---------------



  1. Create a git repository

  2. Press on "Download code" and copy the git@github.com:"Repository path in github"

  3. Make a folder in local device with same name as the github repo name

  4. Open GitBash inside the repository file in local system

  5. Type these commands :


i.   git config --global user.name "Your User Account name"
ii.  git config --global user.email your email             //(without inverted commas)
iii. git clone git@github.com:AccountName/Reponame
iv.  cd Repository/

You can move the files from the main file to the newly created blank file with the same name.

v.  git add .
vi. git status
vii.git commit -m "any comment" filename.extension
viii. git push -u origin [branch name as per your repository branch] <main/master>
  1. For modification :

i.  git status
ii. git commit -m "any comment" filename.extension
iii.git push -u origin master.
  1. Finally :

| | | CHECK YOUR GITHUB AND REFRESH THE PAGE | | | | |

THANK YOU ๐Ÿ™๐Ÿ™๐Ÿ™

Made by Mainak

About

The series of steps you can use to commit a document in your GitHub from your local device, remotely.