Skip to content
Snippets Groups Projects
Commit c9c515a8 authored by dam1n19's avatar dam1n19
Browse files

Updated checkout command

parent 4fccb24b
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ def find_branchfile(directory, branchfile):
def repo_checkout(directory, branch, branchfile):
print(f"Checking out {directory} to branch {branch}")
os.system(f"cd {directory}; git checkout --recurse-submodules {branch}")
os.system(f"cd {directory}; git checkout --recurse-submodules {branch}; git pull")
find_branchfile(directory, branchfile)
if __name__ == "__main__":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment