I just found this article on google's opensource blog:
http://google-opensource.blogspot.com/2008/05/develop-with-git-on-google-code-project.html
really nice. I just tested it and works just fine.
hth,
rolando.
[EDIT] moved to Everything else :-)
A fast, easy to use, free, and community supported 2D game engine
I just found this article on google's opensource blog:
http://google-opensource.blogspot.com/2008/05/develop-with-git-on-google-code-project.html
really nice. I just tested it and works just fine.
hth,
rolando.
[EDIT] moved to Everything else :-)
Just in case anyone wants to experiment, this is exactly what I'm doing to work on the cocos2d-mac branch:
# first "checkout" I didn't want the whole repo, just a few commits before. If you omit the -r XX:HEAD argument, it will fetch the whole history.
$ git svn clone --username funkaster -s -r 1100:HEAD https://cocos2d-iphone.googlecode.com/svn cocos2d
$ cd cocos2d
# now, show branches, we're currently in the one with an "*" (master == svn trunk)
$ git branch -a
* master
remotes/branch-action-manager
remotes/cocos2d-mac
remotes/tags/release-0.8
remotes/tags/release-0.8-rc
remotes/tags/release-0.8.1
remotes/tags/release-0.8.1-beta
remotes/tags/release-0.8.1-rc
remotes/tags/release-0.8.2-beta
remotes/trunk
# since i'll be working on branch cocos2d-mac, I create a local branch to hack away
$ git checkout -b cocos2d-mac-rolando cocos2d-mac
$ hack-hack-hack
$ git (add|rm|etc as needed)
$ git commit -a
# fetch any changes from svn, to avoid conflicts
$ git svn rebase
# and commit to svn repo
$ git svn dcommit
hth,
rolando.
Nice feature! I'm loving Git these days. Cheers for the link
Also - VERY cool your looking into a Mac port!!
Hey that's some good info, thanks!
I just started using git about a week ago -.^
I was wondering, is it possible to set up a git repo for my personal code and within it have another git project pull the cocos library from the svn?
You must log in to post.