Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
git-tutorial
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
Anders Nilsson
git-tutorial
Commits
d12f86dc
Commit
d12f86dc
authored
12 years ago
by
Administrator
Browse files
Options
Downloads
Patches
Plain Diff
Spell-checked
parent
a4abd30d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
git-tutorial.tex
+10
-7
10 additions, 7 deletions
git-tutorial.tex
with
10 additions
and
7 deletions
git-tutorial.tex
+
10
−
7
View file @
d12f86dc
\documentclass
[a4paper,1
1
pt,twoside]
{
article
}
\documentclass
[a4paper,1
0
pt,twoside]
{
article
}
\usepackage
{
a4wide
}
\usepackage
{
palatino
}
\usepackage
{
tikz
}
...
...
@@ -49,7 +49,7 @@ But why use git instead of cvs, subversion, clearcase, or any other
well-known version control tool?
\begin{itemize}
\item
Git is free, both as in speech and in beer, unlike Clearcase,
Team Foundation andcial systems.
Team Foundation and
other commer
cial systems.
\item
Git is distributed. When each user has her own repository copy
you do not always need to have contact with a central server.
\item
There is a large Internet community around git making it easy to
...
...
@@ -87,7 +87,7 @@ Get your Windows git client from \verb|http://git-scm.com/download/win|.
\label
{
sec:handson
}
In this section we will walk through the basic git operations using
this very tutorial as an example project. We will first show the
workflow for a standalone repository, typically what you would have
work
-
flow for a standalone repository, typically what you would have
for versioning your own small projects. Then we will show what happens
when we want to work in a distributed context, cooperating with other
people.
...
...
@@ -101,7 +101,7 @@ following stages as you work on them, see Figure~\ref{fig:lifecycle}:
\begin{description}
\item
[Untracked:]
Git does not know anything about untracked files.
\item
[Tracked, unmodified:]
Git knows about these files, and there
have been no changes to them since lst commit.
have been no changes to them since l
a
st commit.
\item
[Tracked, modified:]
Files tracked by git, there are changes made
to the file since last commit but git does not know whether these
changes should go into next commit.
...
...
@@ -277,7 +277,7 @@ nothing to commit (working directory clean)
A brief explanation of the command options.
\verb
|
-a
|
means that all
modified files will be staged before commit, without it we would only
commit newly added files.
\verb
|
-m
|
says that a revision comment will
follow
e
fter it, without it a text editor (perhaps vi) would start and
follow
a
fter it, without it a text editor (perhaps vi) would start and
allow you to edit a more comprehensive comment.
...
...
@@ -356,7 +356,7 @@ commit 846bf870955b4eae2a5fd7bb6f5071af6b7a9003
Author: Anders Nilsson <andersn@control.lth.se>
Date: Wed Mar 20 09:32:35 2013 +0100
Add
d
ed chaos figure and some motivation
Added chaos figure and some motivation
commit 95390dea5ea41624953f566fc077c8a8bdbfaf3a
Author: Anders Nilsson <anders@angsro14.se>
...
...
@@ -457,7 +457,6 @@ Some useful links:
In general, Google is your friend, and there are literally hundreds
(if not thousands) of freely available git references, Q
\&
A:s, and
tutorials out there.
\end{document}
\section
{
FRT090 Specifics
}
\label
{
sec:frt090
}
...
...
@@ -488,3 +487,7 @@ access. You do this by copying \emph{both}\footnote{Well, you only
\emph
{
need
}
to copy the
\emph
{
private
}
key, but it does not really
make sense to not also bring with you the public part.
}
key files to
the other user account you want to use.
\end{document}
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