From 1b515a16d66dc1b0753790f6fe1bb359a61bd076 Mon Sep 17 00:00:00 2001 From: Ihor Polyakov Date: Wed, 2 Aug 2017 03:09:15 +0700 Subject: [PATCH] CONTRIBUTING.rst: Note about git behaviour (#763) --- .github/CONTRIBUTING.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/CONTRIBUTING.rst b/.github/CONTRIBUTING.rst index 0eba9aa07..1dc096b83 100644 --- a/.github/CONTRIBUTING.rst +++ b/.github/CONTRIBUTING.rst @@ -137,6 +137,12 @@ Here's how to make a one-off code change. $ git commit -a $ git push origin your-branch-name + - If after merging you see local modified files in ``telegram/vendor/`` directory, that you didn't actually touch, that means you need to update submodules with this command: + + .. code-block:: bash + + $ git submodule update --init --recursive + - At the end, the reviewer will merge the pull request. 6. **Tidy up!** Delete the feature branch from both your local clone and the GitHub repository: