mirror of
https://github.com/cheat/cheat.git
synced 2024-11-25 15:31:36 +01:00
Adds cheatsheet for rcs
This commit is contained in:
parent
cdf573a725
commit
30d2a77a6c
26
cheat/cheatsheets/rcs
Normal file
26
cheat/cheatsheets/rcs
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# Initial check-in of file (leaving file active in filesystem)
|
||||||
|
ci -u <filename>
|
||||||
|
|
||||||
|
# Check out with lock
|
||||||
|
co -l <filename>
|
||||||
|
|
||||||
|
# Check in and unlock (leaving file active in filesystem)
|
||||||
|
ci -u <filename>
|
||||||
|
|
||||||
|
# Display version x.y of a file
|
||||||
|
co -px.y <filename>
|
||||||
|
|
||||||
|
# Undo to version x.y (overwrites file active in filesystem with the specified revision)
|
||||||
|
co -rx.y <filename>
|
||||||
|
|
||||||
|
# Diff file active in filesystem and last revision
|
||||||
|
rcsdiff <filename>
|
||||||
|
|
||||||
|
# Diff versions x.y and x.z
|
||||||
|
rcsdiff -rx.y -rx.z <filename>
|
||||||
|
|
||||||
|
# View log of check-ins
|
||||||
|
rlog <filename>
|
||||||
|
|
||||||
|
# Break an RCS lock held by another person on a file
|
||||||
|
rcs -u <filename>
|
Loading…
Reference in New Issue
Block a user