diff --git a/Updating-wildduck-via-git.md b/Updating-wildduck-via-git.md index ff63640..78a2fd0 100644 --- a/Updating-wildduck-via-git.md +++ b/Updating-wildduck-via-git.md @@ -56,6 +56,7 @@ So the whole `config` file looks like this: ``` (root) $ sudo su deploy (deploy) $ cd /var/opt/zone-mta.git +(deploy) $ git fetch origin # git fetch origin is needed before specific commit (deploy) $ git fetch origin f5f6a80ef6571c24afbb013eb18d74ec6e81ea1e (deploy) $ git --git-dir=/var/opt/zone-mta.git --work-tree="/opt/zone-mta" checkout -- package.json (deploy) $ git --git-dir=/var/opt/zone-mta.git --work-tree="/opt/zone-mta" checkout f5f6a80ef6571c24afbb013eb18d74ec6e81ea1e