version control

Telechargé par electro-ub ub
Version Control
IA version control system (VCS) is a tool or system for keeping track
of changes in files.
IA primitive form of VCS would be making a copy of a file every time
you want to make a new version of the file. For example; lab1a.c,
lab1b.c, lab1c.c, etc.
IThe basic idea is to have some way to track multiple versions of a
project including what the differences were, when they were made,
and having a way to backtrack to those versions and undo changes
if necessary.
IMany VCS have been developed over the years; rcs,cvs,svn,git.
We will use git.
Version Control
Igit is a different kind of VCS. git is a Distributed VCS. There is no
centralized file server. Instead, all the contributors to a project have
complete, separate copies of the project.
IBeing decentralized also makes git a great tool to allow
collaborators to all work on a project.
IGit is very popular and powerful. Its also well known for being hard
to learn.
IThere are many sources on the web to get help with git.
ISoftware Carpentry
IGithub’s ”Hello World”
IGit For Ages 4 And Up
IYou need source code control now
Version Control
Igit isn’t needed for this class much.
IMost will use it for pulls only.
IHowever, it is likely that if you do software, or hardware development
work with hardware description languages, you will use a VCS.
Igit can help you keep track of your work but don’t use it to share
your code with others.
Igit is not a backup system, but used with the free remote
repositories at github.com you can have a simple backup solution.
Version Control
IGetting setup to use git:
IFirst, installation:
IDebian-based distros:
sudo apt - get i n stall git
IFedora:
sudo yum inst a ll git
IOnce you have it installed, check that its working:
gi t -- ver si on
Igit should be found and should report the version
Version Control
ISetting up a repository:
IA repository is the place where git keeps track of your changes
IAll the files and directories you intend to keep track of.
IThe .git subdirectory holds all the tracked files recursively
downward in the directory structure.
IThe repository is stored alongside the files in the directory that you
want to track.
1 / 15 100%

version control

Telechargé par electro-ub ub
Documents connexes
La catégorie de ce document est-elle correcte?
Merci pour votre participation!

Faire une suggestion

Avez-vous trouvé des erreurs dans linterface ou les textes ? Ou savez-vous comment améliorer linterface utilisateur de StudyLib ? Nhésitez pas à envoyer vos suggestions. Cest très important pour nous !