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

  • buy facebook comments uk en I have to publish something in this blog
  • buy facebook comments uk en I have to publish something in this blog
  • Instagram Views en About conference poster design and defense
  • buy cheap facebook comments en About conference poster design and defense
  • Anónimo en End of the line for a loser
  • Anónimo en End of the line for a loser
  • Anónimo en End of the line for a loser
  • Anónimo en End of the line for a loser
  • Anónimo en End of the line for a loser
  • Anónimo en End of the line for a loser
  • 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.158.21.176 (2be6552c52)
    Comentario

    © 2002 - 2008 jmerelo
    Powered by Blogalia