diff --git a/doc/GIT_REPO.md b/doc/GIT_REPO.md index d4d8603..95a6991 100644 --- a/doc/GIT_REPO.md +++ b/doc/GIT_REPO.md @@ -70,3 +70,19 @@ git commit -am "[#ticket] subject: short sentence" ```bash ./venv/repo forall -pc "git branch -a|grep BRANCH" ``` + +### Search missing branch in all repo +```bash +./venv/repo forall -pc 'git branch -a|(grep /BRANCH$||echo "no match")|grep "no match"' +``` + +### Search change file in all repo +```bash +./venv/repo forall -pc "git status -s" +``` + +### Clean all +Maybe, some version diverge from your manifest. Simply clean all and relaunch your installation. +```bash +./script/clean_repo_manifest.sh +``` \ No newline at end of file diff --git a/doc/PRODUCTION.md b/doc/PRODUCTION.md index 880dfc3..636ebfc 100644 --- a/doc/PRODUCTION.md +++ b/doc/PRODUCTION.md @@ -24,9 +24,14 @@ cd /[EL_USER]/erplibre ``` ## Move database prod to dev - When moving database prod to your dev environment, you want to remove email servers, and install user test to test the database. Run: ```bash ./run.sh --stop-after-init -i user_test,disable_mail_server --dev all -d DATABASE ``` + +## Update production +Simply update all feature. +```bash +./run.sh --limit-time-real 99999 --stop-after-init -u all -d DATABASE +```