BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
e7bfd4ae
Commit
e7bfd4ae
authored
Sep 06, 2017
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make clear changeset vs snapshot method. Also typos.
parent
0a835fbc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
cvs.md
doc/user/project/import/cvs.md
+6
-7
No files found.
doc/user/project/import/cvs.md
View file @
e7bfd4ae
...
...
@@ -7,7 +7,7 @@ control system similar to [SVN](svn.md).
The following list illustrates the main differences between CVS and Git:
-
**Git is distributed
**
while
CVS is centralized using a client-server
-
**Git is distributed
.**
On the other hand,
CVS is centralized using a client-server
architecture. This translates to Git having a more flexible workflow since
your working area is a copy of the entire repository. This decreases the
overhead when switching branches or merging for example, since you don't have
...
...
@@ -17,17 +17,16 @@ The following list illustrates the main differences between CVS and Git:
whole, or they fail without any changes. In CVS, commits (and other operations)
are not atomic. If an operation on the repository is interrupted in the middle,
the repository can be left in an inconsistent state.
-
**Changesets.**
Changes in CVS are per file, while changes (commits) in Git
they always refer to the whole project. One of the consequences of this is that
it is very easy in Git to revert (create a change that undoes) or undo a whole
change.
-
**Storage method.**
Changes in CVS are per file (changeset), while in Git
a committed file(s) is stored in its entirety (snapshot). That means that's
very easy in Git to revert or undo a whole change.
-
**Revision IDs.**
The fact that in CVS changes are per files, the revision ID
is depicted by version numbers, for example
`1.4`
reflects how many time a
given file has been changed. In Git, each version of a project as a whole
(each commit) has its unique name given by SHA-1.
-
**Merge tracking.**
Git uses a commit-before-merge approach rather than
merge-before-commit (or update-then-commit) like CVS. If while you were
preparing to create a new commit (new revision) somebody
other
created a
preparing to create a new commit (new revision) somebody created a
new commit on the same branch and pushed to the central repository, CVS would
force you to first update your working directory and resolve conflicts before
allowing you to commit. This is not the case with Git. You first commit, save
...
...
@@ -51,7 +50,7 @@ with (`git bisect` for one) which makes for a more productive workflow.
Migrating to Git/GitLab there is:
-
**Shorter learning curve**
, Git has a big community and a vast number of
tutorials to get you started.
tutorials to get you started
(see our
[
Git topic
](
../../../topics/git/index.md
)
)
.
-
**Integration with modern tools**
, migrating to Git and GitLab you can have
an open source end-to-end software development platform with built-in version
control, issue tracking, code review, CI/CD, and more.
...
...
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