Comment on Git control for novice gamedev?
TheKracken@lemmy.world 9 hours ago
Check out this site gitmastery.me it makes it a game to learn git. There are some core concepts that are 90% of what you need to know. Most everything else is specific issues and strategies. If it’s just you.working on a project you can get away with learning commits, pushing, branching, and merging.
HelloRoot@lemy.lol 7 hours ago
I got away with just the main branch in my personal projects so far. I found git stash very useful.
lemmyvore@feddit.nl 1 hour ago
TBH it do be like that when you’re a solo developer.
Branches come in after a certain level of complexity, if you need to do some kind of separate feature and you’re not sure how it would fit into the main project or something like that.
They can also be useful if you start automating things. Updating a branch can be used to signal that a commit needs testing or deployment.
And of course branches are super helpful when multiple people are involved.
[On a side note, it’s interesting we still use the “branch” terminology even though modern source control systems aren’t trees anymore.]