提交 72347a23 编写于 作者: L Linus Torvalds

Make "git clone" use the new git-clone-pack

上级 1fcc8ea5
#!/bin/sh
repo="$1"
dir="$2"
mkdir $dir || exit 1
cd $dir
git-init-db
git fetch "$repo" && ( git-rev-parse FETCH_HEAD > .git/HEAD )
mkdir "$dir" && cd "$dir" && git-init-db && git-clone-pack "$repo"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册