修复检查更新日志展示

This commit is contained in:
whyour
2021-10-18 17:05:38 +08:00
parent 51869b6a84
commit ef9fa02145
5 changed files with 80 additions and 9 deletions
+1
View File
@@ -304,6 +304,7 @@ reset_romote_url() {
if [ -d "$dir_work/.git" ]; then
cd $dir_work
[[ -f ".git/index.lock" ]] && rm -f .git/index.lock >/dev/null
git remote set-url origin $url >/dev/null
git reset --hard $part_cmd >/dev/null
cd $dir_current