Git: Get the HEAD of a repository with the .git directory
Posted
by Patrick Klingemann
on Stack Overflow
See other posts from Stack Overflow
or by Patrick Klingemann
Published on 2010-06-16T12:44:53Z
Indexed on
2010/06/16
12:52 UTC
Read the original article
Hit count: 485
I'm looking for a single command that effectively does the following:
git clone git://github.com/rails/rails.git --depth=1
rm -rf rails/.git
Is there a command that does this?
© Stack Overflow or respective owner