Karteikarten
Version Control
Karten in diesem Stapel (25)
- 1Local VCSkeeps track of file versions
either keep:
actual copies of file versions; or
patch sets - set of add/subs to a file - 2Centralized VCSsingle server contains the file versions
clients check out individual files/folders from the central server
+ collaboration with others is possible
+ easy to administer file permissions
- single point of failure - 3Examples of Local VCSRevision Control System (RCS)
- 4Examples of Central VCSConcurrent Versions System (CVS)
Subversion
Perforce - 5Distributed VCSMachines fully mirror the repository, including the history of changes
Peer-to-peer approach
Each peer is valid repo
+ No single point of failure
- Large repos may be impractical to mirror (due to large files or long hist) - 6Examples of Distributed VCSGit
Mercurial
Bazaar
Darcs - 7Backup & Restoresave all your changes and jump to any version at any time
- 8Short-term / Long-term undono fear of experimental changes, whether short or long-term
- 9Synchronizationstay up to date with teammates' work
- 10Track Changestrack the development of each file, and explain why the changes happened
- 11Track Ownershipfind out who made a particular change
- 12Branching/Mergingcopy of a code that can be modified in isolation and merged to the 'main' version
- 13Repositorywhere the files are stored
can be remote or local (working copy) - 14Clonecopy of another repo (including all the files and revision history)
- 15Commit(v.) to record the changes in the VC history/log
(n.) a version/checkpoint that you can go back to anytime - 16Headlatest commit in the repo
- 17Branchcopy of the code base
can evolve separately from other branches - 18main branchwhere the stable code is usually found (Git: master)
- 19Mergedifferent branches can be merged together
ex:
Branch A has commits 1 & 2
Branch B has commits 1, 2, & 3
B can be merged into A so that A will have the 3rd commit as well - 20Conflictwhen there are two or more conflicting changes to the same file
must be resolved - 21Update/Syncget all the latest changes from the remote repo and put them in your local repo
- 22Git == GitHubFalse
They are independent of each other - 23Gita distributed VCS
free and open-source
primarily a command line tool
has a 3rd party GUI and add-ons for IDEs - 24GitHubwebsite/service designed to function with Git
main function: allow users to create git repos
alternative: GitLabs, BitBucket - 25GitHub can function with other VCSFALSE
It is designed to function with Git only
Informationen
- Beschreibung
- Computer Science Karteikarten am Version Control, erstellt von Do Bingu am 10/10/2024.
- Erstellt von
- Do Bingu
- Aufrufe
- 0
- Bewertung