Просмотр исходного кода

Added things from external comments.

Kristian Schultz 4 лет назад
Родитель
Сommit
f6521d0e12
5 измененных файлов с 24 добавлено и 7 удалено
  1. 14 3
      src/faq/addThingsToProject.tex
  2. 2 0
      src/faq/cloneProject.tex
  3. 1 0
      src/faq/doNotStore.tex
  4. 1 0
      src/faq/keys.tex
  5. 6 4
      src/faq/newProject.tex

+ 14 - 3
src/faq/addThingsToProject.tex

@@ -9,7 +9,7 @@
 \item
    \de{Die aktuellsten Änderungen vom Server holen.
    }\en{Load the newest changes from server.}
-   \hfill \var{pull}
+   \hfill \var{fetch / pull}
 \item
    \de{Falls notwendig: Den aktuellen Arbeitszweig wechseln oder einen neuen anlegen.
    }\en{If needed: change or crate a branch.}
@@ -82,11 +82,17 @@
 \index{GIT!pull}
 
 \begin{itemize}
+\item 
+   \codeline{git fetch}
+
+   \de{Lädt den aktuellsten Stand des Repositorys vom Server l\"asst das Arbeitsverzeichnis aber unver\"andert.
+   }\en{Loads the newest version of the repository from server but leaves the working directory as it is.}
+
 \item 
    \codeline{git pull}
 
-   \de{Lädt den aktuellsten Stand des Repositorys vom Server.
-   }\en{Loads the newest version of the repository from server.}
+   \de{Lädt den aktuellsten Stand des Repositorys vom Server und aktualisiert das Arbeitsverzeichnis.
+   }\en{Loads the newest version of the repository from server and updates the working directory.}
 
 \item
    \codeline{git checkout \placeholder{NAME}}
@@ -189,6 +195,11 @@
    \de{Fügt die neue oder geänderte Datei \placeholder{FILE\_NAME} dem nächsten Commit hinzu.
    }\en{Adds the new or changed file \placeholder{FILE\_NAME} to the next commit.}
 
+\item
+   \codeline{git add .}
+   \de{Fügt alle neuen oder ge\"anderten Dateien im aktuellen Ornder und allen unterordnern dem nächsten Commit hinzu.
+   }\en{Adds all new or changed files in the current folder and all subfolder to the next commit.}
+
 \item
    \codeline{git rm \placeholder{FILE\_NAME}}
    \de{Entfernt die Datei \placeholder{FILE\_NAME} aus der Arbeitskopie und markiert sie als gelöscht im nächsten Commit.

+ 2 - 0
src/faq/cloneProject.tex

@@ -21,5 +21,7 @@
    with the link you copied before. Execute the command.}
 
     \codeline{git clone \placeholder{git@git.informatik.uni-rostock.de:example-user/example-project.git}}
+
+   \de{Falls GIT in diesem Schritt nach einem Login fragt, fehlt die SSH Konfiguration f\"ur diesen Rechner oder Account in GITLab. Siehe Kapitel \ref{ch:ssh}: \q{SSH-Schl\"ussel einrichten}.}\en{If you are asked for a login then your SSH-key is missing in GITLab. Please follow the actions in Chapter \ref{ch:ssh} \q{Set up SSH keys}.}
 \end{itemize}
 

+ 1 - 0
src/faq/doNotStore.tex

@@ -1,6 +1,7 @@
 %\section{\de{Gespeicherte Daten verwalten}\en{Manage stored data}}
 \subsection{\de{Was \underline{nicht} in GIT gespeichert werden sollte}\en{What \underline{not} to store in in GIT}}
 
+% TODO: Asked for 10MB
 \de{Die folgenden Daten sollten nicht in GIT gespeichert werden. Insbesondere wenn die Datei > 1MB ist.
 }\en{The following files should not stored in GIT. Especially if the file size is > 1 MB.}
 

+ 1 - 0
src/faq/keys.tex

@@ -1,4 +1,5 @@
 \section{\de{SSH-Schlüssel einrichten}\en{Set up SSH keys}}
+\label{ch:ssh}
 
 \subsection{\de{Die Übersichtsseite öffnen}\en{Open the overview page}}
 \begin{itemize}

+ 6 - 4
src/faq/newProject.tex

@@ -3,11 +3,11 @@
 \subsection{\de{Mit der Kommandozeile}\en{Using the command line}}
 \begin{itemize}
 \item \textbf{\de{Sie haben noch kein lokales Projekt?}\en{You have no local project?}}
-    \\ \tUseAllSteps{} (a) \de{bis}\en{til} (f)
+    \\ \tUseAllSteps{} (1) \de{bis}\en{til} (6)
 \item \textbf{\de{Sie haben ein lokales Projekt, aber es ist nicht mit GIT verwaltet?}\en{You have a local project but it is not managed by GIT?}}
-    \\ \tUseSteps{} (b), (d), (e) \tAnd{} (f)
+    \\ \tUseSteps{} (2), (4), (5) \tAnd{} (6)
 \item \textbf{\de{Sie haben ein lokales GIT-Projekt?}\en{You have a local GIT project?}}
-    \\ \tUseSteps{} (b) \tAnd{} (f)
+    \\ \tUseSteps{} (2) \tAnd{} (6)
 \end{itemize}
 
 
@@ -35,6 +35,8 @@
 \item \de{Die Dateien dem neuen GIT-Repository hinzufügen:}\en{Add the files to the new GIT Repository:}
     \codeline{git add~.}
 
+    \codeline{git commit -m \"{}Initial commit.\"{}}
+
 \item \de{Projekt zum Server senden.}\en{Send new project to server.}
     \codeline{git push --set-upstream git@git.informatik.uni-rostock.de:\placeholder{myAccount}/\placeholder{myProject} master}
 \end{enumerate}
@@ -43,7 +45,7 @@
 
 
 \newpage
-\subsection{\de{Mit GIT-Vorlagen}\en{With GIT examples}}
+\subsection{\de{Mit GITLab-Vorlagen}\en{With GITLab examples}}
 
 \begin{itemize}
 \item