User Tools

Site Tools


git:git

This is an old revision of the document!


git Versionsverwaltung

git installieren

root> apt-get install git

git einrichten

git config --global user.name "user"
git config --global user.email "user@vm8"
git config --list
...
> user.name=user
> user.email=user@vm8
> remote.origin.url=https://vm8/user/user_project.git
...

ssh login einrichten

Wenn der ssh-pub-key auf GitLab bei den user hinterlegt ist, kann mit Hilfe des ssh-agent eine Anmeldung ohne Passwortabfrage erfolgen.

user> eval $(ssh-agent -s)
> Agent pid 32239     # ok ssh-agent ist aktiv
user> ssh-add .ssh/id_ed25519

user> git config remote.origin.url git@vm8:user/user_project.git

user> git config -l
...
remote.origin.url=git@vm8:user/user_project.git
...

</code>

git/git.1603297906.txt.gz · Last modified: 2023/01/11 20:30 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki