Learning Git
-
What the best resources to learn Git?
Also, I am assuming GitHub to the best repository to use?
-
I like GitLab, unlimited and free.
-
Atlassian's Bitbucket is another free repository.
-
Also, this might be useful:
-
@ramblingbiped said in Learning Git:
Atlassian's Bitbucket is another free repository.
Not free like GitLab. GL is free repos, free users.
-
BitBucket and GitHub are only free for like a single repo unless you make it public (e.g. opening your source with or without an OS license.)
-
@scottalanmiller said in Learning Git:
@ramblingbiped said in Learning Git:
Atlassian's Bitbucket is another free repository.
Not free like GitLab. GL is free repos, free users.
Yes, I understand that. Free like github.
-
@ramblingbiped said in Learning Git:
@scottalanmiller said in Learning Git:
@ramblingbiped said in Learning Git:
Atlassian's Bitbucket is another free repository.
Not free like GitLab. GL is free repos, free users.
Yes, I understand that. Free like github.
LOL, which is why I mention GitLab. Really free
-
What I don't understand is how to get my workstation setup so I can commit to a repo.
-
@aaronstuder said in Learning Git:
What I don't understand is how to get my workstation setup so I can commit to a repo.
Make your SSH key, make a copy of your public key (clipboard) and paste it into your profile settings.
-
@scottalanmiller I get that, where do I store the repo files on my local workstation? Anywhere?
-
@aaronstuder said in Learning Git:
@scottalanmiller I get that, where do I store the repo files on my local workstation? Anywhere?
Sure. I use /home/scott/code and then make my repos in there. Use git clone to create the initial files to make it simple.
-
@scottalanmiller so Git clone basicly makes a local copy of the repo on my local computer then I can add and commit from there?
-
@aaronstuder said in Learning Git:
@scottalanmiller so Git clone basicly makes a local copy of the repo on my local computer then I can add and commit from there?
Other way, use git clone to pull your repo from your host. Make the repo on the host, then git clone on your workstation to bring a copy down (even if it is empty.)
-
@scottalanmiller worded badly via mobile. So I can use any directory I want? Thatโs pretty cool
-
@aaronstuder said in Learning Git:
@scottalanmiller worded badly via mobile. So I can use any directory I want? Thatโs pretty cool
Think of it like NextCloud.... it'll sync any folder that you want.
-
@scottalanmiller so what stops you from using this for file storage? Do they block certain extensions? Files over a certain size?
-
@aaronstuder said in Learning Git:
@scottalanmiller so what stops you from using this for file storage? Do they block certain extensions? Files over a certain size?
It's just not practical for it. It's a text processing system. I think you'd find it pretty painful to use for anything else.
-
There's also a GitHub Desktop application you can use to connect to / manage / pull down code from GitHub.
-
@networknerd said in Learning Git:
There's also a GitHub Desktop application you can use to connect to / manage / pull down code from GitHub.
Any value to that, though? Basically all you really want to do is...
git add .; git commit -m "My note"; git push origin
That's it. A desktop app would just be in the way.