Code Monkey home page Code Monkey logo

jhipster's Introduction

Prácticas realizadas con Jhipster

Colección de prácticas realizadas con Jhipster en el aprendizaje de esta tecnología

Clonar solo el proyecto que te pueda interesar con sparse-checkout

Si te interesa alguna de las prácticas de este repositorio me parece estupendo !! Si solo deseas clonar esa práctica concreta que te interesa lo tienes realmente sencillo utilizando la característica sparse-checkout de git.

Supongamos que tan solo deseas clonar la carpeta prueba-sparse-checkout que como puedes comprobar tan solo tiene un fichero de texto sin código alguno a modo de prueba.

Tan solo debes seguir los siguientes sencillos pasos:

  1. Crea un carpeta y accede a ella.
$ mkdir miproyecto
$ cd miproyecto
  1. Inicializa un repositorio git en la carpeta.
$ git init
  1. Activa sparse-checkout en el repositorio.
$ git config core.sparsecheckout true
  1. Indícale a git la carpeta o carpetas que desas clonar de forma exclusiva, para el caso del ejemplo: prueba-sparse-checkout
$ echo prueba-sparse-checkout >> .git/info/sparse-checkout
  1. Añade el repositorio remoto a git
$ git remote -f origin https://github.com/fjmontesinos/jhipster.git
  1. Haz un pull del proyecto y ejecuta un ls, comprobarás que tan solo se ha clonado la carpeta indicada
$ git pull origin master
$ ls -la
total 16
drwxrwxr-x 4 javiermontesinos javiermontesinos 4096 abr 10 05:49 .
drwxrwxr-x 8 javiermontesinos javiermontesinos 4096 abr 10 05:59 ..
drwxrwxr-x 8 javiermontesinos javiermontesinos 4096 abr 10 05:49 .git
drwxrwxr-x 2 javiermontesinos javiermontesinos 4096 abr 10 05:49 prueba-sparce-checkout

jhipster's People

Contributors

fjmontesinos avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.