diff --git a/docs/en/cli.md b/docs/en/cli.md index 37c64994..6f634f10 100644 --- a/docs/en/cli.md +++ b/docs/en/cli.md @@ -78,3 +78,13 @@ You can use **nano** to edit files on the Raspberry Pi. It is one of the more us ``` You may also use other editors like **vim** if you prefer. + +## Resetting changes + +For resetting all the changes in Clover package related files (`launch`-files), use git: + +```bash +cd ~/catkin_ws/src/clover +git checkout . +sudo systemctl restart clover +``` diff --git a/docs/ru/cli.md b/docs/ru/cli.md index 567ad8be..d8c80196 100644 --- a/docs/ru/cli.md +++ b/docs/ru/cli.md @@ -78,3 +78,13 @@ sudo reboot ``` Для редактирования файлов также можно использовать и другие редакторы, например, **vim**. + +## Сброс изменений + +Для сброса изменений всех файлов, относящихся к пакету Клевера (`launch`-файлы) используйте git: + +```bash +cd ~/catkin_ws/src/clover +git checkout . +sudo systemctl restart clover +```