Introduction
Description
Description
Introduction
Description
Description
Commands | Task | Notes | Commands |
|---|---|---|
| Create a new local repository | init command used for creating a new local repository | git init |
| To check Status | Used to know the current state of local repository | git status |
| Add files | Used to add files to the repository | git add filename |
| commit files | used to save the current working directory of the repository | git commit |
| Log | Log is used to see the changes that have been committed | git log |
| Push | Used to push the changes committed locally up to the central repository | git push |
| Pull | Used to pull the changes down from another repository | git pull |
| merge | Merge is the command used for merge changes that have commit from separate places or separate branches or two pieces of code that need to be merge together | git merge |
Points