Files
tldr/pages.fr/common/git-annex.md

30 lines
745 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`
- Initialize le repo avec Git annex :
`git annex init`
- Ajoute un fichier :
`git annex add {{chemin/vers/fichier_ou_repertoire}}`
- Affiche le statut courrand d un fichier ou repertoire :
`git annex status {{chemin/vers/fichier_ou_repertoire}}`
- Synchronise un repository local avec un distant :
`git annex {{distant}}`
- Recupére un ficheir ou un repertoire :
`git annex get {{chemin/vers/fichier_ou_repertoire}}`