Skip to content

Commit

Permalink
Merge branch 'arjunsuresh-patch-1' into arjunsuresh-patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh authored Jun 8, 2024
2 parents 596dba4 + a0bf8da commit 7c68797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cm/cmind/repos.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ def pull(self, alias, url = '', branch = '', checkout = '', console = False, des
extra_flag = ' ' if checkout_only else ' -b '

if branch != '':
cmd += extra_flag + branch
cmd = 'git fetch && git switch ' + branch

if checkout!='':
cmd += ' ' + checkout
Expand Down

0 comments on commit 7c68797

Please sign in to comment.