Skip to content

MainakRepositor/Git-steps

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

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/
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

About

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

Topics

Resources

Stars

Watchers

Forks