GIT REPO CONVERSION COMPLETE - Info for committers

Matthew Dillon dillon at apollo.backplane.com
Wed Nov 26 14:32:39 PST 2008


    To all committers!  cvs write access to crater has been disabled and
    ssh has been changed from cvs to git operations.

    You need to build and install the devel/scmgit package from pkgsrc.
    You can then clone the repo using the following sequence of commands.
    If you have made local changes to the source tree you have to save them
    before doing this or they will be lost.

    SAVE ANY LOCAL CHANGES YOU HAVE MADE BEFORE DOING THIS!  This example
    shows setting up a completely fresh repo.
	
	rm -rf src
	git clone -o crater -n \
		ssh://crater.dragonflybsd.org/repository/git/dragonfly.git src
	cd src
	git branch rel2_0 crater/DragonFly_RELEASE_2_0

    You now have two local branches available.  'master' tracks the
    main development trunk and 'rel2_0' tracks the 2.0 release
    (for example).  If you checkout a branch out it becomes your working
    branch:

	git checkout master

    You can then make changes and commit them to your local branch.

	edit files ... blah blah blah
	git commit -a

    However, the information will NOT yet be on crater.  To do that you
    have to push your work to crater.

	git push crater

    Please note that the local copy of the repo is IN your src/ directory,
    in the "src/.git" directory.  If you rm -rf src you are also destroying
    the local copy of your repo.

						-Matt






More information about the Kernel mailing list