Files
tldr/pages.fr/common/git-annex.md
2021-05-01 12:49:31 -04:00

30 lines
732 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# git annex
> Gérez les fichiers avec Git, sans archiver leur contenu.
> Lorsqu'un fichier est annexé, son contenu est déplacé dans un stockage clé-valeur et un lien symbolique est créé qui pointe vers le contenu.
> Plus d'informations : <https://git-annex.branchable.com>.
- Aide :
`git annex help`
- Initialise le dépôt :
`git annex init`
- Ajoute un fichier :
`git annex add {{chemin/vers/fichier_ou_repertoire}}`
- Affiche le statut courant d'un fichier ou répertoire :
`git annex status {{chemin/vers/fichier_ou_repertoire}}`
- Synchronise un dépôt local avec un distant :
`git annex {{distant}}`
- Récupère un fichier ou un répertoire :
`git annex get {{chemin/vers/fichier_ou_repertoire}}`