Rénich's Blog

git

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

17 de octubre de 2013

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 https://git.fedorahosted.org/git/anaconda.git

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

Ejemplos

git clone --depth …

HowTo: Configure Gitolite3 on Fedora 19

28 de agosto de 2013

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

13 de mayo de 2011

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 …