mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-07-01 12:50:30 +08:00
bug fix
This commit is contained in:
parent
d96ee6b057
commit
754a26f1bf
@ -19,7 +19,7 @@ if [[ "$(git rev-parse HEAD)" == "$dfs_commit" ]]; then
|
|||||||
echo "Nothing to do."
|
echo "Nothing to do."
|
||||||
else
|
else
|
||||||
echo "Checking out to commit $dfs_commit ..."
|
echo "Checking out to commit $dfs_commit ..."
|
||||||
git checkout $dfs_commit
|
git -c advice.detachedHead=false checkout $dfs_commit
|
||||||
cp ./.update.sh ./update.sh
|
cp ./.update.sh ./update.sh
|
||||||
chmod +x ./update.sh
|
chmod +x ./update.sh
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user