From 2c27ee4b278f362d32239996eb326ca9d79eaecb Mon Sep 17 00:00:00 2001 From: Dongsheng Song Date: Fri, 29 Feb 2008 20:27:25 +0800 Subject: [PATCH] Minor update --- git.txt | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/git.txt b/git.txt index 25d0ed1..e0c2ed2 100644 --- a/git.txt +++ b/git.txt @@ -48,7 +48,6 @@ The flowwing is the sample configuration, please modify some fields. status = auto [core] - repositoryformatversion = 0 compression = 9 [diff] @@ -61,7 +60,7 @@ The flowwing is the sample configuration, please modify some fields. [svn] repack = 1000 - repackflags = -a -d -l + repackflags = -a -d [user] # email = dongsheng.song@gmail.com @@ -85,7 +84,10 @@ Repository on repo.or.cz # cat .git/branches/origin git://repo.or.cz/i18n-zh.git +or http://repo.or.cz/r/i18n-zh.git +or + git+ssh://repo.or.cz/srv/git/i18n-zh.git *) push @@ -108,10 +110,17 @@ Common git operation ==================== *) clone git-clone git://repo.or.cz/i18n-zh.git +or + git-clone http://repo.or.cz/r/i18n-zh.git +or + git-clone git+ssh://repo.or.cz/srv/git/i18n-zh.git *) update - "git-pull -v" or "git fetch", See section "Getting the latest upstream code". + git fetch && git rebase origin + + DO NOT use "git-pull" simply", see section + "Getting the latest upstream code" for more details. *) restore git-checkout -f filename @@ -172,7 +181,8 @@ Using git-svn ============= *) Clone a repo (like git clone) - git-svn clone -T trunk -b branches -t tags https://i18n-zh.googlecode.com/svn/trunk + git-svn clone -T trunk -b branches -t tags \ + https://i18n-zh.googlecode.com/svn/trunk *) Reset your master to trunk (or any other branch) -- 2.11.4.GIT