Skip to content

Hamzah-syed/git-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Commands

  • git init // initialize git (one time command)
  • git add . // add to staging area
  • git commit -m "updated index.html" // push to local repo with message
  • git remote add origin // link github repo to local repo (one time command)
  • git remote -v // check linked repo
  • git push origin master // push code to remote repo

Addional commands

  • git clone // clone repo
  • git status // show status of the repo
  • git log // list commits
  • git config --global user.name "hamzah-syed"
  • git config --global user.email "[email protected]"

Resources

https://education.github.com/git-cheat-sheet-education.pdf

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published