Nguyễn Thái Ngọc Duy schrieb:
+export SAVED_WORK_DIR=$(pwd)/work +export GIT_DIR="$(pwd)"/repo.git +export GIT_CONFIG="$GIT_DIR"/config +export GIT_WORK_TREE="$(pwd)"/work
These are not very portable; use: GIT_DIR="$(pwd)"/repo.git GIT_CONFIG="$GIT_DIR"/config GIT_WORK_TREE="$(pwd)"/work export GIT_DIR GIT_CONFIG GIT_WORK_TREE The first one also needs $(pwd) quoted. -- Hannes - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html