$ git clone -n https://gitee.com/Weisson/gpsd_1770001777.git /var/lib/mock/dist-an23-build-510614-75048/root/chroot_tmpdir/scmroot/gpsd_1770001777 Cloning into '/var/lib/mock/dist-an23-build-510614-75048/root/chroot_tmpdir/scmroot/gpsd_1770001777'... $ git fetch origin 588a6436ea2430b1baa206b0612e1096087c71f5:KOJI_FETCH_HEAD From https://gitee.com/Weisson/gpsd_1770001777 * [new ref] 588a6436ea2430b1baa206b0612e1096087c71f5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 588a643 Update code from upstream