For shallow clones, you can use the --depth parameter, and for the branch,
well, --branch. For more fine grained options you should consult the
git-init manpage, which may present you other useful switches.
For the last N commit part: N can be any positive integer, including one.
This makes it pos
On 2015-02-24, at 10:40 PM, Gergely Polonkai wrote:
> Hello,
>
> yes, basically that is the way. There is an option in recent Git called
> shallow clone, which doesn't clone the whole history, only the last N
> commits. You can also specify the branch name you want to use instead of
> master
Hello,
yes, basically that is the way. There is an option in recent Git called
shallow clone, which doesn't clone the whole history, only the last N
commits. You can also specify the branch name you want to use instead of
master, so using these two, you will actually get what you want.
For the se
How would someone check out a copy of branch "limonite-placer" from
https://gist.github.com/5e037df5b5c9209885d5.git
Is the only way to do a full clone of the entire history locally, and then
check out the files you want?
Equally, if two local users wanted to work on the same project, how do th