Getting started with git (a very small tutorial)

2. You only need to learn these 6 commands to get started: clone, status, add, commit, pull, push
3. Learn these 2 commands AFTER you’re conversant with the first 6: branch, checkout
4. Graphical tools can help you see it visually. I like git-fork.com. Sourcetree isn’t bad. Visual Studio Code and various code editors have git integration.
5. push is akin to uploading your files to the server (for safe-keeping). Before pushing you’ve to write a comment about what you want to push using the commit command. pull is akin to getting your files from the server.

Leave a Reply

Your email address will not be published. Required fields are marked *