Giter VIP home page Giter VIP logo

projet-cda1-p1's Introduction

Commandes pour modifier et ajouter uniquement son dossier

Dans un dossier on initialise git:

git init

on ajoute le projet à notre git

git remote add origin [email protected]:digifab-dev/projet-cda1-p1.git

On dit à git que l'on souhaite préciser le dossier modifiable

git config core.sparseCheckout true

Créer un fichier dans 'sparse-checkout' ( sans extensions ) le dossier .git/info/

linux :

nano .git/info/sparse-checkout

dans le fichier sparse-checkout

On ajoute uniquement le nom du dossier que l'on souhaite récupèrer

ex : git-master

On récupère le dossier sur notre PC/Mac

git pull --depth=1 origin main

Pour envoyer vos modifications sur le git

Depuis le dossier contenant le .git on ajoute toutes nos modifications :

git add .

On prépare l'envoie de nos données en donnant un nom pour différencier ce dernier :

git commit -m 'Mon premier commit'

On envoie enfin le tout :

git push

projet-cda1-p1's People

Contributors

vaaljeef avatar kevin-roda avatar el-sultan avatar adriengou avatar fatiha74 avatar tarekkous avatar audreyca avatar sulayman74 avatar manuhell74 avatar stefe-77 avatar krimokiss avatar septume avatar luigivampa21 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.