Sven Verdoolaege <skimo@kotnet.org> writes:- Figuring out the name of the new directory we create (think "git clone git://repo.or.cz/git.git" -- it does "mkdir git && cd git" for you before doing the other things). - Run "git init" there, obviously. - Probably run "git ls-remote" to figure out which branch HEAD should point at; you would definitely want to add a mechanism to pass the ls-remote result to the "git fetch" you are going to call next, as it is the first thing "git fetch" usually does -- we would want to reuse it. - Recently suggested good addition is to have "--track $branch" option to "git clone" to point remotes/origin/HEAD to something other than what the remote's HEAD actually points at (the discussion was primarily between Carl Worth and Linus; see archive). - Run "git remote add origin" with the given URL to set up the standard "separate remotes" tracking structure. - Run "git fetch" for initial fetch ("git remote add -f" could do that as well). You would probably need to pass --tags to this "git fetch" to mimick what "git clone" does today. - Run initial checkout if asked. Most likely yes but that is just my gut feeling -- I readily admit I haven't thought it through. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| David Newall | Re: Slow DOWN, please!!! |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Christoph Lameter | Re: -mm merge plans for 2.6.23 |
| Roland Dreier | Re: Integration of SCST in the mainstream Linux kernel |
git: | |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Andreas Henriksson | [PATCH 06/12] Remove bogus reference to tc-filters(8) from tc(8) manpage. |
