Git advice from a beginner for a beginner
millsjessicainokc
Posted on October 10, 2019
Well, I made it through week two of coding school. I learned a lot about Git and Github and the differences between the two. I am realizing I will be using the two consistently throughout my tech career. So Git is a free and open source distributed version control system (VCS) designed to handle everything from very small to very large projects with speed and efficiency. Github is a developmental platform inspired by the way you work. From open source to business you can host and review code, manage projects, and build software alongside 28 million developers.
Handy Tips for Git:
- When you make a commit it is very important to have a message line with it.
- Merge conflicts cant be ignored/skipped, dig through your code decide what needs to stay and grab whoever is responsible for code your conflicting with.
- With Rebase you can shift history and delete stuff. Two ways to use ReBase on the command line: 1. git rebase 2. git pull –rebase
- Always work on a local, once you push to remote it gets 100x harder to fix.
- Never ever edit in source control directly.
-
Try to stay working on the command line.
It has been a little bit over-whelming but I am learning to be comfortable with being uncomfortable and trying to stay open-minded and teachable.
Posted on October 10, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.