bumzag Posted July 19, 2019 Share Posted July 19, 2019 (edited) Other than git, what's best practice for version control in IntelliJ? I'm trying to create a new version of a script I've made with the same source code in order to maintain the original version. I've tried doing it by going File > New > Project from existing sources.. and then select the folder containing the IntelliJ project, but nothing happens. Edited July 19, 2019 by bumzag Quote Link to comment Share on other sites More sharing options...
RawTech Posted July 19, 2019 Share Posted July 19, 2019 No question.. Git is the best practice. If you're creating an entirely new script with no intention to merge the 2 together then make a new git repo. If you're creating a new version of an existing script, like a beta or alpha version, then make a new branch within the same repo. Googling git best practices you get a lot of branching strategies, commit tagging and naming conventions etc. But those are only really useful when you run a large software shop with multiple developers. If you're working alone, just find out what works for you. Github offer free private repos now and if you're looking to roll with your own selfhosted gitlab is really nice but potentially a bit overkill for a few repos. Quote Link to comment Share on other sites More sharing options...
Apaec Posted July 19, 2019 Share Posted July 19, 2019 I'd just use git or svn or something. If you use a built in version control system, you never really know what is going on under the hood and it can be frustrating/unpredictable at times. If the reason for you not using git is that you don't know it, now is your opportunity to learn it Apa Quote Link to comment Share on other sites More sharing options...
bumzag Posted July 19, 2019 Author Share Posted July 19, 2019 2 minutes ago, Apaec said: If the reason for you not using git is that you don't know it, now is your opportunity to learn it Yeah this was exactly the reason I'll spend the time to look into it and just deal with the learning curve. Thanks. Quote Link to comment Share on other sites More sharing options...
Apaec Posted July 19, 2019 Share Posted July 19, 2019 1 minute ago, bumzag said: Yeah this was exactly the reason I'll spend the time to look into it and just deal with the learning curve. Thanks. The basics are not too bad, you can get quite far with just basic committing and branching. I'd suggest doing it from the command line instead of using any git clients or embedded things. Maybe do some experiments with a dummy project first though! GL & let me know if you have any questions Apa Quote Link to comment Share on other sites More sharing options...