Git-steps icon indicating copy to clipboard operation
Git-steps copied to clipboard

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

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 [email protected]:"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 [email protected]:AccountName/Reponame
iv.  cd Repository/
v.   ls
vi.  git add filename.extension
vii. git status
viii.git commit -m "any comment" filename.extension
ix.  git remote add origin https://<PERSONALACCESSTOKEN>@github.com/<USERNAME>/<REPO>.git
x.   git push -u origin 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