BloJJ

Adventures of a multidimensional freak

This is Juan Julián Merelo Guervós English-language blog. He teaches computer science at the University of Granada, in southern Spain. Come back here to read about politics, technology, with a new twist

Latest comments

  • Hendo en Riddles in Kafka on the shore
  • TML en Riddles in Kafka on the shore
  • Anonymous en Riddles in Kafka on the shore
  • RonS en Riddles in Kafka on the shore
  • miss en Riddles in Kafka on the shore
  • JJ en Riddles in Kafka on the shore
  • miss en Riddles in Kafka on the shore
  • miss en Riddles in Kafka on the shore
  • Mykalah en Riddles in Kafka on the shore
  • david en Riddles in Kafka on the shore
  • Blogs Out There

    Nelson Minar's Blog
    Jeremy Zawodny's Blog
    Kottke
    Complexes, Carlos Gershenson's blog
    IlliGAL, Genetic Algorithms blog
    Blogging in the wind, Víctor R. Ruiz's blog


    Atalaya, my Spanish language blog
    Geneura@Wordpress, our research group's blog.
    My home page

    Old stories


    Creative Commons License
    This work is licensed under a Creative Commons License.
    Blogalia

    Stats
    Inicio > Historias > Cloning part of a local repository

    Cloning part of a local repository

    This is called a sparse checkout. Most solutions I found need to clone the whole repository and then do a filter, but I found the correct one in this page in Spanish, which I then with this sequence to do a partial checkout of a local repository (as opposed to a remote one).
    git init
    git remote add origin file:///home/jmerelo/txt/investigacion/papers/papers-pre2013/2012/
    git config core.sparsecheckout true
    echo mm-COR/ >>.git/info/sparse-checkout
    git pull origin master

    This will pull exactly mm-COR and nothing more. You will still have the whole history and everything.

    2013-04-13 23:11 | 0 Comment(s) | Filed in Just_A_Scientist

    Referencias (TrackBacks)

    URL de trackback de esta historia http://blojj.blogalia.com//trackbacks/73261

    Comentarios

    Nombre
    Correo-e
    URL
    Dirección IP: 54.87.180.135 (4541d57965)
    Comentario

    © 2002 - 2008 jmerelo
    Powered by Blogalia