$ git clone -n https://gitee.com/hongwei-qin/logwatch.git /var/lib/mock/dist-an23.3-build-413936-72745/root/chroot_tmpdir/scmroot/logwatch Cloning into '/var/lib/mock/dist-an23.3-build-413936-72745/root/chroot_tmpdir/scmroot/logwatch'... $ git fetch origin bc7c8b6290cd4c56353cdb174cdf927be45cd390:KOJI_FETCH_HEAD From https://gitee.com/hongwei-qin/logwatch * [new ref] bc7c8b6290cd4c56353cdb174cdf927be45cd390 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bc7c8b6 update to 7.11