Git ist ein Tool zur Versionierung wird aber oft auch zum Konfigurationsmanegement eingesetzt. Github ist eine Website um Repositories zu hosten. Gitlab ist Github OnPremise.
Siehe auch gitea.
Login Reset
git config --global --unset user.name git config --global --unset user.email git config --global --unset user.password
Existing repo
git clone -b <branch> <remote_repository> git add <files> git commit -m "<message>" git push origin <branch> git checkout -b <branch> // create
Empty repo
cd /path/to/your/project git init git add . git commit -m "Initial commit" git remote add origin https://github.com/username/repository.git git push -u origin main
https://api.github.com/repos/<user>/<repo>/releases/latest
https://raw.githubusercontent.com/<username>/<repository/<branch>/<file>
ssh-keygen -t rsa
# Github.com server Host github.com RSAAuthentication yes IdentityFile ~/.ssh/id_rsa
git clone git@github.com:username/repository.git
sudo apt install curl openssh-server ca-certificates // add repo curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash sudo apt install gitlab-ce
Die Konfigurationsdateien findet man unter /etc/gitlab/