开发者

Checking out from a git tree

I need 开发者_JAVA技巧to checkout this libunwind port for FreeBSD,

http://people.freebsd.org/~kib/git/libunwind.git/

I've never used git before and when i tried to checkout using the command

git checkout http://people.freebsd.org/~kib/git/libunwind.git/

I get the following error,

fatal: Not a git repository (or any of the parent directories): .git

What should I do to fix this?


Following should do it:

git clone http://people.freebsd.org/~kib/git/libunwind.git/

If you are coming from svn background, read this.


You should read a basic tutorial on git before trying to use it. Git is not a centralised system. You should clone if you want to get a repository.


You're supposed to clone it, no? It will create a copy onto your system:

git clone http://people.freebsd.org/~kib/git/libunwind.git/ local-dir
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜