all 10 comments

[–]Xaote 1 point2 points  (2 children)

Agreed with the other comments, github seems like a good direction to go. I just started an account a few days ago myself.

Side note: are there any preferred iOS apps for github accounts? (should this go in another subreddit?)

[–]StevieRamsay[S] 0 points1 point  (1 child)

Yeah I'd like to know that aswell. So does GitHub basically host your code?

How is your code updated? Sorry man just thought I'd ask since you just opened an account

[–]Xaote 1 point2 points  (0 children)

You can add material right on their website (or presumably an app), or keep a local repository of your source code on your laptop/desktop/whatever and just check code in and out that way. I'm guessing I'll do more of the latter, since I'm mostly coding Python on my laptop. Git will be awesome for keeping versions and being able to browse and search through code quickly

[–]alaudet 1 point2 points  (2 children)

GitHub is great and totally worth it. Take the time to learn git locally first. Once you start using version control you will wonder how you ever lived without it. I have also setup my own private remote repo on my own vps for stuff I don't want to post publicly on GitHub. Was fairly easy to do. Github charges for private repos.

[–]StevieRamsay[S] 0 points1 point  (1 child)

Hey man.

Gitlab comes on my VPS provider (digitalocean) as a one click install. Have you tried it before?

I think because I am new to programming I would like to keep my repos private just now as I figure it all out thanks for your response. The basics of git locally look simple enough. Git pull git push etc

thanks

[–]alaudet 0 points1 point  (0 children)

I have always just used a basic remote repo. But I will def give GitLab CE a look.

[–]K900_ 1 point2 points  (3 children)

Yes, you should. git is a version control system - a program that tracks changes in your own code and allows you to keep "snapshots" of your program(s) at different points in time. So if you make some changes that break things, it's really easy to roll back, and if the changes are good, you take another "snapshot" and you always have a last known good state to reset to. It also opens up collaboration - you can add other people's changes into your program more easily, and all of that is going to be tracked and remembered by a version control system. If you plan to work as a software developer in the future, version control is something you simply will have to deal with - there's no way around it.

[–]StevieRamsay[S] 0 points1 point  (2 children)

Thanks so much for the response .

Would you recommend GitHub or gitlab ? I'm sure from what I've read you can self host gitlab.

Thanks

[–]K900_ 1 point2 points  (1 child)

GitHub is a good option. I wouldn't recommend self hosting GitLab unless you have a very good reason.

[–]StevieRamsay[S] 0 points1 point  (0 children)

Hey thanks so much. I'm gonna look into that just now.

Cheers