git clone --depth 1 --branch v5.29.0 https://github.com/mattermost/mattermost-server.git ln -fs mattermost-server/vendor . rm vendor/modules.txt mkdir -p vendor/github.com/mattermost/mattermost-server ln -fs `pwd`/mattermost-server vendor/github.com/mattermost/mattermost-server/v5 touch $3