Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
uva
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
uva
Commits
8c6f9360
Commit
8c6f9360
authored
Jan 09, 2011
by
Sander Mathijs van Veen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Portfolio: Finished version control system report.
parent
6d4cabb8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
portfolio/vcs/vcs.tex
portfolio/vcs/vcs.tex
+15
-6
No files found.
portfolio/vcs/vcs.tex
View file @
8c6f9360
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
\usepackage
{
enumerate
}
\usepackage
{
enumerate
}
\title
{
Portfolio - Version control system
}
\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}
\begin{document}
...
@@ -533,10 +533,9 @@ baz
...
@@ -533,10 +533,9 @@ baz
In the example above,
\texttt
{
git branch
}
is used to list the available
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.
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
It is not necessary to use
\texttt
{
git branch
}
, but it is used in this example
show which branch is active.
to show which branch is active. You could delete a branch with
\texttt
{
git
branch -d BRANCH
}
.
You could delete a branch with
{
git branch -d BRANCH
}
\begin{verbatim}
\begin{verbatim}
$
git branch
-
d foo
$
git branch
-
d foo
...
@@ -548,7 +547,17 @@ Deleted branch foo (was 31469f3).
...
@@ -548,7 +547,17 @@ Deleted branch foo (was 31469f3).
\subsection
{
Cherry picking
}
% {{{
\subsection
{
Cherry picking
}
% {{{
\label
{
sub: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}
% }}}
% }}}
...
...
Write
Preview
Markdown
is supported
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