$ git clone -n https://gitee.com/wanghuan158/trustee.git /var/lib/mock/dist-an23-epao-build-464499-73883/root/chroot_tmpdir/scmroot/trustee Cloning into '/var/lib/mock/dist-an23-epao-build-464499-73883/root/chroot_tmpdir/scmroot/trustee'... $ git fetch origin c3df228b9b0d3aa8bb142d4609b3af3ab649d287:KOJI_FETCH_HEAD From https://gitee.com/wanghuan158/trustee * [new ref] c3df228b9b0d3aa8bb142d4609b3af3ab649d287 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c3df228 update to 1.5.1