[Ktechlab-devel] Checking out Julian's repository, how?

Julian Bäume julian at svg4all.de
Sun Nov 29 01:43:10 UTC 2009


On Saturday 28 November 2009 23:19:53 Julian Bäume wrote:
> On Saturday 28 November 2009 18:56:05 P Zoltan wrote:
> > $ git clone
> > git://ktechlab.git.sourceforge.net/gitroot/ktechlab/ktl-j_ohny_b
> > Initialized empty Git repository in /tmp/3/ktl-j_ohny_b/.git/
> > remote: Counting objects: 3832, done.
> > remote: Compressing objects: 100% (1255/1255), done.
> > remote: Total 3832 (delta 2552), reused 3816 (delta 2543)
> > Receiving objects: 100% (3832/3832), 4.03 MiB | 1126 KiB/s, done.
> > Resolving deltas: 100% (2552/2552), done.
> > warning: remote HEAD refers to nonexistent ref, unable to checkout.
> >
> > Then I get a directory with only a .git/ subdirectory in it.
> 
> That is correct. The point is, I don't have a master branch uploaded to my
> repository. That is why it can't checkout anything. You have to do it
> manually.
Okay, I just changed that behaviour. I added a master branch to my remote 
repo. It corresponds to the main repos master branch. I know, this is the kde3 
version, but except for developing and porting, there is nothing to be done 
with the actual kde4-port branch. It even crashes when closing the main-
window, and I still have to figure out, why it does that.

To get the kde4-port branch, try (change "origin" to the correct remote repo):

> git checkout --track -b kde4-port origin/kde4-port
> 
> (here I assume, the remote repo is named origin) You can list all remote
> branches with git branch -a

bye then
julian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/ktechlab-devel/attachments/20091129/a5e3b221/attachment.sig>


More information about the Ktechlab-devel mailing list