- git init - initialise a git repository
- git add - to add the current file to staging
- git add . - to stage contents of entire folder
- git commit -m "message" - used for commit staged file/files
- git reset head - for unstaging all the files
- git reset - for unstaging single file
- git push - for pushing our changes to remote repo
- git checkout branchName/commit hash
- git branch - all the branches
- git checkout -b "branch-name"
- git merge - merge any other branch to your current branch
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|