From 989160b9ab57be210d339a1b6887fbe771e4e3e0 Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Mon, 14 Oct 2019 22:26:35 +0200 Subject: [PATCH] README: correction des commandes Git --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2388b90..8b56d72 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,8 @@ La première fois ça donne : git init --bare $HOME/.dotfiles alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' dotfiles config --local status.showUntrackedFiles no +dotfiles remote add origin gitea@forge.o9.re:olivier/dotfiles.git +dotfiles push origin master ``` et on utilise la commande `dotfiles` (inclure dans .zshrc) pour ajouter des fichiers : @@ -20,7 +22,7 @@ dotfiles add .zshrc Les autres fois : ```bash -git clone --bare https://github.com/USERNAME/dotfiles.git $HOME/.dotfiles +git clone --bare gitea@forge.o9.re:olivier/dotfiles.git $HOME/.dotfiles alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' dotfiles checkout source ~/.zshrc