diff --git a/cm/cmind/repos.py b/cm/cmind/repos.py index 8899607de..1beb23ef6 100644 --- a/cm/cmind/repos.py +++ b/cm/cmind/repos.py @@ -457,7 +457,7 @@ def pull(self, alias, url = '', branch = '', checkout = '', console = False, des extra_flag = ' ' if checkout_only else ' -b ' if branch != '': - cmd = 'git fetch && git switch ' + branch + cmd = 'git fetch && git checkout ' + branch if checkout!='': cmd += ' ' + checkout