From 30d2a77a6ceca696a5dd0f2416e60e17441e7847 Mon Sep 17 00:00:00 2001 From: Dave Clarke Date: Thu, 2 Nov 2017 11:53:08 -0500 Subject: [PATCH] Adds cheatsheet for rcs --- cheat/cheatsheets/rcs | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 cheat/cheatsheets/rcs 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