Archive > Tag: git

HowTo: Cómo clonar un repo sin historia con Git

Muchas veces, quieres el código de acá para adelante. Un caso es el Kernel.

Para clonar algo sin jalar todo su historial, utiliza:

git clone --depth 1

Así de fácil. Obviamente, substituye el repo por uno que te interese:


git clone --depth …

HowTo: Configure Gitolite3 on Fedora 19

Ok, Fedora adheres, thankfully, to the FHS a lot and, thus, changes where things might go. In this case, they don't use the git user; they use gitolite3 as a user. And, in a nutshell, here's how to configure it:

The first part of the HowTo goes on the Server …

HowTo: Deploy using git

This one is not mine. It's, actually, a transcript. Please, check out the source at the bottom

# Local

# Create a website
mkdir website && cd website
git init
echo 'Hello, world!' > index.html
git add index.html
git commit -q -m "The humble beginnings of my web site."

# add remotes
git …