« Topgrade » : différence entre les versions
Ligne 18 : | Ligne 18 : | ||
brew install topgrade | brew install topgrade | ||
</source> | </source> | ||
== FAQ == | |||
=== Erreur === | |||
Le message suivant apparait : | |||
fatal: It seems that there is already a rebase-apply directory, and I wonder if you are in the middle of another rebase. If that is the case, please try | |||
git rebase (--continue | --abort | --skip) | |||
If that is not the case, please | |||
rm -fr ".git/rebase-apply" | |||
and run me again. I am stopping in case you still have something valuable there. | |||
==== Solution ==== | |||
Entrer la commande suivante pour réinitialiser les branches GIT | |||
brew update-reset |
Dernière version du 16 mars 2024 à 08:44
Topgrade est une commande créée dans le langage RUST de la fondation Mozilla, qui permet d'effectuer toutes les mises à jour d'une machine :
- Système
- Firmware
- SNAP
Sourc : https://github.com/r-darwish/topgrade
Installation sous Linux
sudo apt install cargo
cargo install topgrade
export PATH="/home/portalis/.cargo/bin:$PATH"
topgrade
Installation sous MacOS
IL faut d'abord installer
- REDIRECTION Homebrew
brew install topgrade
FAQ
Erreur
Le message suivant apparait :
fatal: It seems that there is already a rebase-apply directory, and I wonder if you are in the middle of another rebase. If that is the case, please try git rebase (--continue | --abort | --skip) If that is not the case, please rm -fr ".git/rebase-apply" and run me again. I am stopping in case you still have something valuable there.
Solution
Entrer la commande suivante pour réinitialiser les branches GIT
brew update-reset