serge-pull - Pull project files from source control


serge pull [configuration-files] [--initialize] [--echo-commands] [--echo-output]

Where [configuration-files] is a path to a specific .serge file, or a directory to scan .serge files in. You can specify multiple paths as separate command-line parameters. If no paths provided, Serge will look up for .serge files in the current directory.


Based on each configuration file's job section, pull changes from source control (e.g. Git or SVN) into the local working directory. Per configuration file settings, there might be several subdirectories mapped to different remote repositories, which will be pulled in one step.

Caution: Before the data is downloaded, all unversioned files in the working directory are removed, and pending rebase is aborted, so the working directory should not be the one you are doing any development in.



Allow the script to reconfigure the local checkout (re-sync from scratch, delete extra folders) if the local working dir is missing or the contents of the local project folder differ from the expected one.

If this option is not specified, then, in such an event, the script will report an error and skip processing the configuration file. This is to prevent massive re-syncing on misconfiguration or transient networking errors.


Echo system commands about to be executed (useful for debugging)


Echo commands' output (useful for debugging)


Part of serge suite.