Skip to content

Commit

Permalink
Redo entire remotes chapter
Browse files Browse the repository at this point in the history
  • Loading branch information
timofurrer committed Jan 14, 2020
1 parent 1079f33 commit bdc1a0b
Show file tree
Hide file tree
Showing 12 changed files with 3,770 additions and 241 deletions.
560 changes: 560 additions & 0 deletions assets/diagrams/remote-concept-with-upstream.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
405 changes: 405 additions & 0 deletions assets/diagrams/remote-concept.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,434 changes: 2,434 additions & 0 deletions assets/diagrams/remote-forking-situation.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
134 changes: 50 additions & 84 deletions assets/diagrams/remote-push.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/agile-ipsum.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/github-clone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/github-forking.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/github-pull-request-create.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/github-pull-request-submit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/party-popper_1f389.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 42 additions & 0 deletions sections/extras.tex
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,48 @@ \subsection{Advanced undo}
You use reflog in combination with the \cmd{git reset --hard HEAD@\{4\}} command.
\end{frame}

\subsection{Configure SSH access}
\begin{frame}[fragile]
\subslidetitle
Create a SSH key pair:
\begin{lstlisting}
$ (*\textcolor[HTML]{0000AA}{ssh-keygen -f \textasciitilde/.ssh/id\_rsa}*)
Generating public/private rsa key pair.
Enter passphrase (empty for no passphrase): (*\textcolor[HTML]{0000AA}{<enter>}*)
Enter same passphrase again: (*\textcolor[HTML]{0000AA}{<enter>}*)
Your identification has been saved in .../.ssh/id_rsa.
Your public key has been saved in .../.ssh/id_rsa.pub.
The key fingerprint is:
7e:f8:15:2a:b3:a2:9c:30:4e:c7:60:50:a4:d5:a9:82 user@host
The key's randomart image is:
+--[ RSA 2048]----+
| . . . |
| . = = S |
| = X * X O o |
...
\end{lstlisting}
\end{frame}

\subsection{Configure SSH access}
\begin{frame}[fragile]
\subslidetitle
Display your public key:
\begin{lstlisting}
$ (*\textcolor[HTML]{0000AA}{cat \textasciitilde/.ssh/id\_rsa.pub}*)
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDOmt7Y4H51gc2m
GmZsFzES6shVLFLEJ/lFCTwyosWHYDaluK71nGCelp61oTocgf4N
HBwTZmo0EZ1k0RHYt8Q3LF8e5fbC+dXt5E35XtkVFuUC7IG2/6fm
NW41j3lw9UUVrOBDgx+QvvoCuRQaxNd4mRaLsRbj9WXt17hGuNNW
ioKPWLSpw/4KHJ34hCrnliAQJ+jlW/0ieOooFp057diCka6Jn7BW
jXHi8sWMxIfyPyV2+4Kt8OpChFNYjzaL5LMRRhMnvJ8zP5SFJB2q
HP50zPYQ+gKoSda7GZedZRgD7gT7ir/u8X9HSpNyTNTafhp9+3Aj
uUiYLTgtczTgYk/T user@host
\end{lstlisting}

This whole output can be added to the SSH access keys
section in the web frontend of your git appliance.
\end{frame}

\subsection{Git submodules}
\begin{frame}[fragile]
\subslidetitle
Expand Down
Loading

0 comments on commit bdc1a0b

Please sign in to comment.