19 lines
798 B
TeX
19 lines
798 B
TeX
% master: git_auf_einen_server_bekommen.tex
|
|
% Git auf einen Server bekommen v0.1
|
|
% 2017-01-09 (Rx)
|
|
|
|
\section{Git auf einen Server bekommen}
|
|
%--------------------------------------
|
|
|
|
\begin{verbatim}
|
|
git clone --bare my_project my_project.git
|
|
Projekt zu Projekt.git klonen
|
|
scp -r my_project.git user@git.example.com:/opt/git
|
|
Projekt per ssh hochladen
|
|
git clone user@git.example.com:/opt/git/my_project.git
|
|
Projekt per ssh zum Arbeiten herunterladen
|
|
ssh user@git.example.com auf dem Server anmelden
|
|
cd /opt/git/my_project.git Projektverzeichnis betreten
|
|
git init --bare --shared Gruppenschreibrechte zu einem Repository
|
|
hinzufügen
|
|
\end{verbatim}
|