Posts

Showing posts with the label Commands

Git Commands

Git Pull git pull will gets all from a remote and it instantly merge it into the branch you are in when you make the request. Pull is a request that runs ‘fetch’ then a ‘merge’ by default. Git Fetch Fetch is similar to pull, except it won’t do any merging. Download objects and refs from another repository Git Init command: git init Create an empty Git repository or reinitialize an existing one Git Status command: git status Show the working tree status Git Commit command: git commit -m "Message" Record changes to the repository Git Push command: git push Update remote refs along with associated objects Git add     Add file contents to the index Git bisect      Find by binary search the change that introduced a bug   Git branch      List, create, or delete branches     Git checkout    Checkout a branch or paths to the working tree     ...