Update git version with git pull?

Initially I downloaded the source code from git as described in github with the command git clone --recurse-submodules --depth 1 https://github.com/darktable-org/darktable.git
How can I update the code later on, e.g. a week later? Will a simple git pull do the job or do I need to consider the --recurse-submodules somehow?

git pull --ff-only origin master

1 Like