Using git as a first-time contributor
ROpenSci Community Call
January 20, 2025
I learned more in the first two months of collaboration
than in the previous ten years of using git on my own.
I’m asuming you have some basic knowledge of git. If not, I recommend Jenny Bryan’s Happy Git and GitHub for the useR.
Working with git on your own repository is a good start to get familiar with concepts like add, commit, push and so on.
Collaborating with git will take you on a whole
new journey of discovering the powers of git.
Some of my personal takeaways after using git in collaboration with others:
Worst case? 🔥 Burn it all down and start over!
Rebase is the Swiss Army knife of git. Among other things, you can:
Note
Rebase is also a great way to keep your branch up-to-date with the main branch.
Git GUIs can be really helpful
My experience with Positron and the Git Graph extension was life-changing!
Change your git config to use your preferred editor (and avoid the horror of vim):
Thank you for
your attention!