You already have a Git server
11–20 of 454 posts
Re: You already have a Git server
#12One note, xcode and maybe some other clients can't use http "dumb mode". Smart mode is not hard to set up, but it's a few lines of server config more than this hook. TIL about the update options for checked out branch. In practise though usually you want just the .git "bare" folder on server
Re: You already have a Git server
#13Maybe I'm too old, but are there people that really didn't know that any ssh access is sufficient for using git?
https://www.theverge.com/22684730/students-file-folder-direc...
Re: You already have a Git server
#14Maybe I'm too old, but are there people that really didn't know that any ssh access is sufficient for using git?
most people think git = github
Re: You already have a Git server
#15 git init
git commit -am Initial\ commit
git clone . ssh://server/path/to/repo
And it didn’t work. You have to ssh to the remote server and “git init” on a path first. How uncivilized.Bitkeeper and a few other contemporaries would let you just push to a remote path that doesn’t exist yet and it’d create it. Maybe git added this since then, but at the time it seemed like a huge omission to me.
Re: You already have a Git server
#16Maybe I'm too old, but are there people that really didn't know that any ssh access is sufficient for using git?
most people think git = github
Even someone who knows that git isn't GitHub might not be aware that ssh is enough to use git remotely. That's actually the case for me! I'm a HUGE fan of git, I mildly dislike GitHub, and I never knew that ssh was enough to push to a remote repo. Like, how does it even work, I don't need a server? I suspect this is due to my poor understanding of ssh, not my poor understand of git.
Re: You already have a Git server
#17the vastly superior way is 'git bare' which is a first class supported command without hacky settings.
Re: You already have a Git server
#18Earlier quoted context omitted.
most people think git = github
I always found these sort of categorical denigrations to be off base. If most people do think git = github then that's because they were taught it by somebody. A lot of somebodies for "most people". Likely by the same somebodies who also come to places like this. It has always taken a village to raise a child and that is just as true for an infant as a junior programmer. But instead we live in a sad world of "why did…
Re: You already have a Git server
#19Earlier quoted context omitted.
most people think git = github
I always found these sort of categorical denigrations to be off base. If most people do think git = github then that's because they were taught it by somebody. A lot of somebodies for "most people". Likely by the same somebodies who also come to places like this. It has always taken a village to raise a child and that is just as true for an infant as a junior programmer. But instead we live in a sad world of "why did…
Imagine what the equivalent argumentation for a lawyer or nurse would be. Those rules ought to apply for engineers, too.