Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uva
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Taddeüs Kroes
uva
Commits
8c6f9360
Commit
8c6f9360
authored
14 years ago
by
Sander Mathijs van Veen
Browse files
Options
Downloads
Patches
Plain Diff
Portfolio: Finished version control system report.
parent
6d4cabb8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
portfolio/vcs/vcs.tex
+15
-6
15 additions, 6 deletions
portfolio/vcs/vcs.tex
with
15 additions
and
6 deletions
portfolio/vcs/vcs.tex
+
15
−
6
View file @
8c6f9360
...
...
@@ -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}
% }}}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment