diff options
| author | Mike Vink <mike.vink@stater.nl> | 2023-04-28 15:42:38 +0200 |
|---|---|---|
| committer | Mike Vink <mike.vink@stater.nl> | 2023-04-28 15:42:38 +0200 |
| commit | b385199e1774c1b8adad73ac9fa1f3a34d3abd8c (patch) | |
| tree | fa3c5121a4664a5c134bd4b42e16ff1f1cb6f224 /shell-scripts/azdo-switch-project | |
| parent | be341302350312608ddd44f490a90f3583b8999e (diff) | |
switch to bare repos
Diffstat (limited to 'shell-scripts/azdo-switch-project')
| -rw-r--r-- | shell-scripts/azdo-switch-project | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell-scripts/azdo-switch-project b/shell-scripts/azdo-switch-project index 50b97d6..2889e62 100644 --- a/shell-scripts/azdo-switch-project +++ b/shell-scripts/azdo-switch-project @@ -25,9 +25,9 @@ curl -s -H '$AUTH_HEADER' $WORK_AZDO_GIT_ORG_URL/{}$LIST_REPOSITORIES \ | fzf) DEST_DIR="$GIT_DIR/$(echo $PROJECT | cut -d '/' -f3)" -if [ ! -d $DEST_DIR ] +if [ ! -d $DEST_DIR ] then - git clone $WORK_AZDO_GIT_ORG_URL/$PROJECT $DEST_DIR + git clone --bare $WORK_AZDO_GIT_ORG_URL/$PROJECT $DEST_DIR fi cd $DEST_DIR $EDITOR |
