< Day Day Up > |
18.19.1 ProblemYou want to customize your CVS environment: the default editor, filepaths, default repository, and perhaps some command options. You want less typing and more working, or maybe less typing and less working, but at least you'd like to set up your working environment to please yourself. 18.19.2 SolutionCreate a .cvsrc file and store it in your home directory. Every user can do this to customize their CVS working environment. This example sets some basic defaults: cvs -T /tmp cvs -d /cvsroot cvs -e nano update -dP checkout -P cvs -z3 diff -c These changes do not affect the CVS server at all; this is how you make your life easier on the client side. 18.19.3 DiscussionA lot of CVS documentation will instruct you to set your CVS environment variables in your system profile (e.g., in ~/.bashrc). Using ~/.cvsrc is usually preferable, because it's portable and simple to configure. ~/.cvsrc, when present, overrides any CVS environment variables in ~/.bashrc. The above ~./cvsrc does these things:
As you use your CVS repository, make note of the command options you use the most, so you can set yourself some sensible defaults and save some typing. 18.19.4 See Also
|
< Day Day Up > |