[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Simulavr-devel] Simulavr in GIT. HOWTO.
From: |
Onno Kortmann |
Subject: |
[Simulavr-devel] Simulavr in GIT. HOWTO. |
Date: |
Tue, 23 Mar 2010 22:05:09 +0100 |
User-agent: |
Mozilla-Thunderbird 2.0.0.22 (X11/20090707) |
Hi,
the ugly stuff has has been done, we can go technical again :-)
Simulavr is in git. The development takes place in branch
master
and the stabilizing for a possible release in branch
stable
What follows is a short shell log with added descriptions (#) on how to
get the latest stuff when being in an empty directory. A developer needs
to substitute the http-URL with his/her
SSH-Url. For example, I clone the repo with:
$ git clone ssh://address@hidden/srv/git/simulavr.git
That one is in on the new branch instead of the old can be seen in the
listings below e.g. the 'branches.txt' file is only in 'master'.
As said, if you need help, ask!
A web repository browser is available at
http://git.savannah.gnu.org/cgit/simulavr.git/.
Best regards,
Onno
-----
$ ls
./ ../
$ # checkout simulavr anonymously
$ # note: URLs can be taken from
http://git.savannah.gnu.org/cgit/simulavr.git/
$ git clone http://git.sv.gnu.org/r/simulavr.git
Initialized empty Git repository in /home/ok/test/simulavr/.git/
$ ls
./ ../ simulavr/
$ # there it is!
$ cd simulavr
$ ls
./ branches.txt COPYING .git/ Makefile.am
README.gdb TODO
../ ChangeLog cvs-git-update.sh* .gitignore make_tarball*
regress/
AUTHORS config/ doc/ INSTALL NEWS
src/
bootstrap* configure.ac examples/ m4/ README
SUPPORT
$ # this is the new stuff by tomk and me
$ git branch -a
* master
remotes/origin/HEAD -> origin/master
remotes/origin/master
remotes/origin/stable
$ # master is development, stable is the latest from the old CVS
$ # lets go to the latest CVS version now (our release candidate)
$ git checkout -t origin/stable
Branch stable set up to track remote branch stable from origin.
Switched to a new branch 'stable'
$ # this also created a local branch that can be used for commits:
$ git branch -a
master
* stable
remotes/origin/HEAD -> origin/master
remotes/origin/master
remotes/origin/stable
$ # That is the stuff in here:
$ ls
./ bootstrap* COPYING examples/ m4/ NEWS
regress/ TODO
../ ChangeLog .cvsignore .git/ Makefile.am README
src/
AUTHORS configure.ac doc/ INSTALL make_tarball* README.gdb
SUPPORT
$ # log is visible using 'git log'
$ # commits can be done using 'git add/git commit'
$ # switching between old and new stuff is easy:
$ git checkout master
Switched to branch 'master'
$ # we're on the new stuff again
$ ls
./ branches.txt COPYING .git/ Makefile.am
README.gdb TODO
../ ChangeLog cvs-git-update.sh* .gitignore make_tarball*
regress/
AUTHORS config/ doc/ INSTALL NEWS
src/
bootstrap* configure.ac examples/ m4/ README
SUPPORT
$