$ git clone -n https://gitee.com/hongwei-qin/ndctl.git /var/lib/mock/dist-an23.3-build-424491-72934/root/chroot_tmpdir/scmroot/ndctl Cloning into '/var/lib/mock/dist-an23.3-build-424491-72934/root/chroot_tmpdir/scmroot/ndctl'... $ git fetch origin da2249bf304292310d3fc9d2e2c874bdaf2cd743:KOJI_FETCH_HEAD From https://gitee.com/hongwei-qin/ndctl * [new ref] da2249bf304292310d3fc9d2e2c874bdaf2cd743 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at da2249b update to 80