Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
robots:rasmobot:linux_cfg [07/2019] – [branch] fred | robots:rasmobot:linux_cfg [07/2020] (Version actuelle) – [branch] fred | ||
---|---|---|---|
Ligne 6: | Ligne 6: | ||
</ | </ | ||
^ desc ^ | ^ desc ^ | ||
+ | | Rpi Zero W sur poteau | 43. | -67. | -256 | | ||
+ | | Rpi Zero W ds haie | 42. | -68. | -256 | | ||
| Rpi Zero W bureau | | Rpi Zero W bureau | ||
| Rpi Zero W sous télé | | Rpi Zero W sous télé | ||
Ligne 102: | Ligne 104: | ||
</ | </ | ||
+ | ou git init pour créer un dépôt git dans un répertoire de travail , puis git remote add origin https:// | ||
===== branch ===== | ===== branch ===== | ||
<code C> | <code C> | ||
Ligne 109: | Ligne 112: | ||
git branch | git branch | ||
git mergetool main.c | git mergetool main.c | ||
- | git rebase --continue (surtout ne pas faire git commit , c'est le rebase que le " | + | git rebase --continue (surtout ne pas faire git commit , c est le rebase que le " |
git push origin feature_branch_name | git push origin feature_branch_name | ||
//-u option to set up a tracking branch? | //-u option to set up a tracking branch? | ||
+ | </ | ||
+ | |||
+ | Mettre de coté une modif | ||
+ | <code bash> | ||
+ | git --no-pager log --oneline --graph --decorate -n 15 | ||
+ | git branch modif_a_mettre_de_cote | ||
+ | git checkout branche_principale | ||
+ | git reset --hard 73b599328 | ||
+ | git push origin branche_principale -f | ||
+ | ou git push origin HEAD: | ||
</ | </ | ||
Ligne 143: | Ligne 156: | ||
| | ||
<code bash> | <code bash> | ||
+ | glt = !git --no-pager log --oneline --all --graph --decorate -n 20 | ||
+ | |||
+ | |||
[diff] | [diff] | ||
tool = mybc4 | tool = mybc4 | ||
Ligne 210: | Ligne 226: | ||
<code C> | <code C> | ||
sudo apt-get upgrade | sudo apt-get upgrade | ||
+ | sudo apt-get clean | ||
sudo raspi-config | sudo raspi-config | ||
sudo reboot | sudo reboot | ||
+ | sudo apt-get install wiringpi | ||
+ | $ gpio -v | ||
+ | $ gpio readall | ||
+ | sudo apt-get install git | ||
+ | |||
+ | |||
+ | |||
+ | // si interface graphique | ||
+ | |||
sudo apt-get install tightvncserver | sudo apt-get install tightvncserver | ||
tightvncserver | tightvncserver |