README: correction des commandes Git
This commit is contained in:
parent
dbb8e51aa7
commit
da32cc9692
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user