diff --git a/cheat/cheatsheets/rcs b/cheat/cheatsheets/rcs new file mode 100644 index 0000000..2e41a5f --- /dev/null +++ b/cheat/cheatsheets/rcs @@ -0,0 +1,26 @@ +# Initial check-in of file (leaving file active in filesystem) +ci -u + +# Check out with lock +co -l + +# Check in and unlock (leaving file active in filesystem) +ci -u + +# Display version x.y of a file +co -px.y + +# Undo to version x.y (overwrites file active in filesystem with the specified revision) +co -rx.y + +# Diff file active in filesystem and last revision +rcsdiff + +# Diff versions x.y and x.z +rcsdiff -rx.y -rx.z + +# View log of check-ins +rlog + +# Break an RCS lock held by another person on a file +rcs -u