Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
bk new(7.3.3)		    BitKeeper User's Manual		 bk new(7.3.3)

NAME
       bk new -	add a file to the repository

SYNOPSIS
       bk new [-bcq] [-Mmode] [file ...	| -]

DESCRIPTION
       The  bk	new  command  is used to initially place files under BitKeeper
       control.

       A useful	way to add new files in	the current directory is:

	   bk gfiles -x	*.[ch] | bk new	-

       When you	want to	add files in the current directory and all subdirecto-
       ries, do	the following:

	   bk -xr. new	  # same as bk gfiles -x | bk new -

       After  the  files  are  checked	in, don't be surprised to see that the
       files are no longer in your directory. The process of checking in files
       removes the files from the directory and	places them in the SCCS	direc-
       tories.	Once in	the SCCS directory, the	file can be retrieved with the
       bk  get	or  bk	edit commands.	Most versions of the UNIX make command
       know about SCCS and will	automatically check  out  files	 as  they  are
       needed.

OPTIONS
       -b      force  binary  encoding	with no	keyword	expansion; recommended
	       for all binary files, but will work on text files as well (with
	       a  corresponding	 increase  in the size of the revision history
	       file).
       -c      Use comments saved by a previous	run of citool, fix,  collapse,
	       etc.  It	is an error if there are no saved comments.
       -Mmode  Set the permissions on the new delta to mode.
       -q      be quiet.

SEE ALSO
       bk-delta, bk-edit, bk-get, bk-ignore, bk-gfiles

CATEGORY
       File
       Common

BitKeeper Inc			      1E1			 bk new(7.3.3)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | SEE ALSO | CATEGORY

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=bk-new&sektion=1&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help