Update
This commit is contained in:
parent
a227e4e4ed
commit
2ef3e36b76
1 changed files with 3 additions and 2 deletions
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
# FIXME: Add checks
|
||||
# FIXME: Add logging
|
||||
REPO=$(realpath "$PWD");
|
||||
REPO=$(realpath "$GIT_DIR");
|
||||
TARGET_DIR="$1";
|
||||
BRANCH="$2";
|
||||
|
||||
GIT_DIR="$TARGET_DIR"
|
||||
env
|
||||
|
||||
function perform_clone_or_pull {
|
||||
|
|
@ -20,6 +20,7 @@ function perform_clone_or_pull {
|
|||
pwd
|
||||
ls -la
|
||||
git fetch
|
||||
pwd
|
||||
git checkout origin/$BRANCH
|
||||
|
||||
echo "Why it does not work?"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue