From 892c6f853b0f6d1f38495650da6f1de23eba7906 Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Wed, 5 Aug 2020 14:03:08 +0300 Subject: [PATCH] docs: add note on how to reset Clover package using git (ru, en) --- docs/en/cli.md | 10 ++++++++++ docs/ru/cli.md | 10 ++++++++++ 2 files changed, 20 insertions(+) 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 +```