README: correction des commandes Git

vif
Olivier DOSSMANN 2019-10-14 22:26:35 +02:00
parent ba68fdab77
commit 989160b9ab
1 changed files with 3 additions and 1 deletions

View File

@ -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