Portfolio: Finished version control system report.

parent 6d4cabb8
......@@ -5,7 +5,7 @@
\usepackage{enumerate}
\title{Portfolio - Version control system}
\author{Sander van Veen, Computer Science, University of Amsterdam}
\author{Sander van Veen (6167969), Computer Science, University of Amsterdam}
\begin{document}
......@@ -533,10 +533,9 @@ baz
In the example above, \texttt{git branch} is used to list the available
branches. The asterisk before a branch name indicates the currently used branch.
It is not necessary to use \texttt{git branch}, but it is used in this example to
show which branch is active.
You could delete a branch with {git branch -d BRANCH}
It is not necessary to use \texttt{git branch}, but it is used in this example
to show which branch is active. You could delete a branch with \texttt{git
branch -d BRANCH}.
\begin{verbatim}
$ git branch -d foo
......@@ -548,7 +547,17 @@ Deleted branch foo (was 31469f3).
\subsection{Cherry picking} % {{{
\label{sub:cherry-picking}
Cherry picking
Cherry picking in Git means applying the changes introduced by an existing
commit. If you want a single commit instead of apply all commits from a branch,
you can use \texttt{git cherry-pick REV}.
\begin{verbatim}
$ git cherry-pick aac61dec6f18fcfb5544ada513a6ad2fd59e23f3
Finished one cherry-pick.
[detached HEAD eb791bf] Added 'ab'.
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 def.txt
\end{verbatim}
% }}}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment