progit / progit2

Pro Git 2nd Edition
Other
5.69k stars 1.88k forks source link

Git Server and Linode Web Servers... #1820

Closed silver2row closed 1 year ago

silver2row commented 1 year ago

Hello,

I followed along w/ the git-server ideas. Ch. 4.1 at https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols is where I am currently, i.e. as going through it again may prove useful.

I have a linode from linode.com and I am trying to set up a home server w/ access via my webpage/web server online, e.g. git server.

I have only been trying for about two days. So, no big discipline here.

I was wondering a couple things:

1. Does this git server from the book allow for use w/ web servers?
2. Is this web server I have currently a dilemma  or a intermediary that is in the way?

I saw in the book that questions were welcomed. I hope I am not stepping on toes here and over boudaries.

Seth

P.S. So far, I have added this to my server (I think).

git init
Hello.txt

Then, on the other side, my personal development desktop...

git pull

I am receiving an error in output: fatal: no such .git repo after using a git remote add origin ssh://

Anyway, looping and a bit lost as of now. If anyone has mastered my git server via the book, please reply so I can try to follow along.

I also tried this idea: https://www.linuxfoundation.org/blog/blog/classic-sysadmin-how-to-run-your-own-git-server

This failed me too. Linode and git must be a difficult idea as of now. I will keep researching, i.e. as this is a new endeavor for 2023!

silver2row commented 1 year ago

Hello,

I think I found the error. The error is when I use WSL2 on Windows 11 and not being able to sign in to my server in question is getting more apparent.

Anyway...

  1. I will use a Linux Distro instead of the WSL2 instance on Win 11.
  2. I will report back

Seth