際際滷

際際滷Share a Scribd company logo
Open Source
S1 Informatika UNS
Versioning Control System (VCS)
Ardhi Wijayanto, S.Kom., M.Cs.
2020
VCS : cara manual
Versioning control system
VCS : cara manual
Mengapa perlu VCS
 Backup and Restore
 Synchronization
 Short-term undo
 Long-term undo
 Track Changes
 Track Ownership
 Sandboxing
 Branching and
merging
Tidak bisa dengan cara manual
Komponen VCS
Repository / repo
Server
Working set
/ working copy
Client
Trunk / main
Basic actions
 Add
 Revision
 Head
 Check out
 Check in
 Checkin Message
 Changelog/History
 Update/Sync
 Revert
Advanced actions
 Branch
 Diff/Change/Delta
 Merge (or patch)
 Conflict
 Resolve
 Locking
 Breaking the lock
Contoh skenario
 Alice adds a file (list.txt) to the repository. She
checks it out, makes a change (puts milk on
the list), and checks it back in with a checkin
message (Added required item.).
 The next morning, Bob updates his local
working set and sees the latest revision of
list.txt, which contains milk. He can browse the
changelog or diff to see that Alice put milk
the day before.
Checkin
Checkout & edit
Checkout & edit
Checkout & edit
Diff
Diff
 git log
Diff
 git diff revision
Branching
Branching
Merging
Conflict
Tagging
Example

More Related Content

Versioning control system