Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lukas Nagel
itt
Commits
c1ea7ce4
Commit
c1ea7ce4
authored
Nov 29, 2021
by
Lukas Nagel
Browse files
add section on remotes
parent
4215fc8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
presentation/presentation.tex
View file @
c1ea7ce4
...
...
@@ -378,7 +378,38 @@
%
% Remotes
%
\section
{
Remotes
}
\begin{frame}
\frametitle
{
\secname
}
\begin{itemize}
\item
git kann lokale mit remote Repositories synchronisieren
\item
\code
{
remote
}
wird mit Name und URL konfiguriert
\item
branches des
\code
{
remote
}
s sind lokal
\code
{
<name>/<branch>
}
\end{itemize}
~
\\
Häufig kopiert man ein entferntes Repository.
\begin{commandline}
\cmd
{
git clone <url>
}
&
\cmt
{
name defaults to origin
}
\\
\end{commandline}
\end{frame}
\begin{frame}
\frametitle
{
\secname
}
Remote zu bestehendem Repo hinzufügen
\begin{commandline}
\cmd
{
git remote add
}
<name> <url>
&
\\
\end{commandline}
~
\\
Änderungen von remote lesen
\begin{commandline}
\cmd
{
git fetch
}
<name> <branch>
&
\\
\cmd
{
git pull
}
<name> <branch>
&
\cmt
{
zusätzlicher merge
}
\\
\end{commandline}
~
\\
Änderungen an entferntes repo schicken
\begin{commandline}
\cmd
{
git push
}
<name> <branch>
&
\\
\end{commandline}
\end{frame}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment