fetching a single commit from remote repo
- From
- Nikita V. Youshchenko <yoush@debian.org>
- Date
- Feb 10, 2008, 15:00 UTC
- Message-ID
- <1530970.y9vPlhFxz8@yoush.homelinux.org>
Hello.
I'm looking for a way to fetch a single snapshot, without history, from remote git repository.
I've found how to do it with a head (clone --depth 1, or fetch --depth 1).
Is it possible to do the same with non-head and non-tagged commit, if only sha1 name of the commit is known? Looks like fetch and fetch-pack only take ref names :(