Skip to content

Commit

Permalink
depth 1
Browse files Browse the repository at this point in the history
  • Loading branch information
ojas1 committed Sep 1, 2020
1 parent 8624d30 commit 21cb9ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ function iiithexp_clone(experiments, exp_dir, common_repo_name) {
child_process.execSync(`mkdir -p ${exp_dir}/${ename}`);
child_process.execSync(
`cd ${exp_dir}/${ename}; rm -rf ${common_repo_name};
git clone ${e.repo}/${common_repo_name}; cd ${common_repo_name}; git fetch --all; git checkout ${e.tag}`
git clone --depth 1 ${e.repo}/${common_repo_name}; cd ${common_repo_name}; git fetch --all; git checkout ${e.tag}`
);
console.log('cloned');
});
Expand Down

0 comments on commit 21cb9ee

Please sign in to comment.