Skip to content

Bhavit720/batch-47

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. git status - check the current status
  2. git add <filename> - add files to tracking/staging
  3. git add . - add files to tracking/staging in current directory
  4. git checkout . - discard all changes in current directory
  5. git commit -m <message> - commit the changes with message
  6. git init - initialise a new git repo
  7. git branch - current branch
  8. git checkout <filename> - discard any changes to file
  9. git checkout -b <branch-name> - create a new branch
  10. git reset head - unstage the changes
  11. git merge <branch-name> - merge to current checked out branched
  12. git checkout <branch-name> - checkout to a existing branch
  13. git push -u origin <branch-name> create a new branch on upstream (github)
  14. git pull - pull changes from upstream(github) branch
  15. git push - push changes to upstream(github) branch
  16. git clone <url> - used to clone a git repo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 72.4%
  • JavaScript 27.6%