svn ignore

Jerry Davis jdawgaz at cox.net
Sat Mar 11 19:45:29 MST 2006


On Sat, 2006-03-11 at 18:08 -0700, Craig White wrote:
> On Fri, 2006-03-10 at 22:48 -0700, Jerry Davis wrote:
> > On Thursday 09 March 2006 10:31 pm, Craig White wrote:
> > <snip>
> > 
> > lets say you have a directory you want import
> > call it importdir
> > 
> > make sure that you have 
> > importdir/trunk/....
> > importdir/tags
> > importdir/branches
> > 
> > 
> > 1. mkdir svn-repository
> > 2. cd importdir
> > 3. import
> > 4. mkdir of ~/svnwork (for example)
> > 5. cd ~/svnwork
> > 6. checkout the trunk
> > 
> > > cd working directory
> > > checkout
> > > from home computer checkout
> > > make changes, commit (puts the changes into svn-repository)
> > > back to working directory on server
> > 
> > > checkout and commit to get latest code functional in working directory
> > no.
> > 
> > on server do a update (you've already done a checkout once)
> > 
> ----
> got it - and it's up and running now, small hurdles but it's all good.
> 
> Had to figure out how to copy/svn delete/svn:ignore copy back into place
> files/directories that I can't have versioning.
> 
> I am gathering that a cool thing to do is to keep a list of files that
> you want to ignore, set it with svn:ignore -F option and that list can
> be operate at all checkouts (ruby on rails has a few files/folders that
> are specific to the individual setup and versioning is dangerous or
> simply counter productive)
> 
> Thanks
> 
> craig

good.

by the way, the reason for the 
tags/ 
trunk/ (where all your code is)
branches/

directories, is that you should tag after every major build. what you
want to call the tag is up to you.

also, when you get to 1.0, you should put 1.0 on a branch.
the trunk will always be your "continuing" development "branch"
when you make a change to 1.0 branch, you would have to make that same
code changes to the trunk as well.

to switch between 1.0 branch and current development you would use the
switch command. it works great.

jerry

> 
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



More information about the PLUG-discuss mailing list