DEV Community

Cover image for Git advice from a beginner for a beginner
millsjessicainokc
millsjessicainokc

Posted on • Updated on

Git advice from a beginner for a beginner

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:

  1. When you make a commit it is very important to have a message line with it.
  2. 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.
  3. 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
  4. Always work on a local, once you push to remote it gets 100x harder to fix.
  5. Never ever edit in source control directly.
  6. 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.

Top comments (0)