Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 637 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 637 Bytes

Useful git commands

  1. git config --global user.name "Tejas" //To set your name
  2. git config --global user.email "[email protected]" //To set your E-mail ID
  3. git config --list //gives list of existing config settings.
  4. git clone // To download/clone entire repo
  5. git status //To know stages of files. git uses three stages: Unstaged, staged and committed.
  6. git pull //Sync repo from github to computer
  7. git push //Sync repo from computer to github
  8. git add . or git add .a //To stage all file status'
  9. git commit -m "message" //To commit your code(Locally) with message.
  10. git log // To browse previous commits