|
|
|
 |
Reply From: |
vinod |
I am using local git repository so that I can easily revert back something. Once when creating a level, I realized that I was changing an existing level, but I was way past modifying it. And Godot undo is not so well even if it is good I will lose one of my levels. But I saved the scene with a new name and a simple git checkout oldlevelname made that old level back without losing the new level.
So version control really helps.
I also don’t know much about git. I recommend you start with a local repository and you can go for remote ones as you learn.
Basic things to know are git status, git add, git commit, git checkout.
Thank you, just installed GIT and am busy learning the basics at Learn Git & GitHub | Codecademy
Now to find a nice GIT GUI for OS X.
Robster | 2016-08-22 11:36
Git comes with a built-in simple GUI, which can be invoked by typing git gui
in the command line from anywhere in your repo. On Windows it even has a context menu entry in the file explorer (not sure about Mac though). Many people I know seemed to be unaware of this^^
Zylann | 2016-08-22 12:33
Thank you, I just checked it out. I have to admit that whilst it’s undoubtedly handy I quite like GitHub Desktop. It took me 10 minutes and I had it all sorted out (after doing the codecademy lessons of course).
Robster | 2016-08-22 12:59
For a local repository it might not matter much if you don’t care about a readable git history, but generally I tend to advise againt using git GUIs, and prefer to use the command line directly. Git is confusing and hard to learn, and GUIs make it even harder IMO to learn things “right” by hiding what git features it uses (fetch, pull, merge, rebase, etc.).
If you want to be able to have a readable git history, contribute to open source git repos, or work in a bigger team using git, you won’t regret learning the basics of the git command line.