Git resources for learning
Learn Git
Learn git concepts, not commands: Very nice blogpost. Explains the concepts of git really well, also more advanced ones like
rebase
orcherry-pick
.- Is related to this Git training for learning the Git concepts in the command line.
How to write good commit messages: Explains why good commit messages are important and gives 7 rules for writing them.
Git book: Explains git concepts from the very beginning.
Git ❤️ command line
- Git cheat sheet: Always handy if you don’t remember the basic commands for the terminal.
Git ❤️ R
There is a whole book on using Git with R that explains the setup in detail but also goes into more advanced topics.
Follow this step by step guide to set up Git and a GitHub connection in R and R Studio
Git ❤️ GitHub Desktop
- There are detailed step by step guides on how to set up GitHub Desktop and how to work with in the GitHub Desktop Documentation
Git ❤️ VS Code
- The VS Code documentation has a nice section on version control with Git in VS Code.
- For uses specifically with GitHub, also have a look at the GitHub in VS Code documentation.
Other useful things
- Connect GitHub Desktop with a Gitlab repository: This is interesting if you want to use GitHub Desktop but your repository is on GitLab (e.g. because your institution has it’s own GitLab server).
- Connecting the repo with Zenodo to get a DOI: Important if you want to make your code citable, especially if it’s connected to a publication.
- A markdown cheat sheet for your README files: READMES are essential for good repositories. Check out the markdown cheat sheet for formatting options.