File:  [NetBSD Developer Wiki] / wikisrc / wiki / cvs.mdwn
Revision 1.9: download - view: text, annotated - select for diffs
Sat Jan 11 01:43:32 2014 UTC (9 years, 8 months ago) by ryoon
Branches: MAIN
CVS tags: HEAD
Change preview part to link to preview page.

    1: #### Getting `wikisrc`
    2: 
    3:     $ cvs -d <username>@wiki.netbsd.org:/cvsroot get wikisrc
    4: 
    5: /!\ `wiki.netbsd.org` != `cvs.netbsd.org`, so your SSH public keys
    6: can drift out of sync; if they've drifted so far that you can't fix
    7: it yourself, file a ticket to `admins@` requesting that they copy
    8: your keys over from `nbcvs`.
    9: 
   10: #### Creating page "Foo Bar"
   11: 
   12:     $ cd .../wikisrc
   13:     $ echo '\[[!meta title="Foo Bar, or, A Nice-Looking Title"]]' > foo_bar.mdwn
   14:     $ $EDITOR foo_bar.mdwn
   15:     $ cvs add foo_bar.mdwn
   16:     $ cvs commit -m "all about Foo Bar" foo_bar.mdwn
   17: 
   18: #### Editing page "Foo Bar"
   19: 
   20:     $ cd .../wikisrc
   21:     $ $EDITOR foo_bar.mdwn
   22:     $ cvs commit -m "more about Foo Bar" foo_bar.mdwn
   23: 
   24: When you commit to `wikisrc`, the pages affected by your edit are
   25: automatically regenerated. Your change will be displayed in
   26: [[RecentChanges]] as type _cvs_.
   27: 
   28: #### Previewing your changes
   29: 
   30: See [[previewing_with_template|Preview setup page]].

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb