$ git clone -n https://gitee.com/wenyuzifang/velocity.git /var/lib/mock/dist-an23-build-447783-73363/root/chroot_tmpdir/scmroot/velocity Cloning into '/var/lib/mock/dist-an23-build-447783-73363/root/chroot_tmpdir/scmroot/velocity'... $ git fetch origin 708f616728caf1506da4ff9dd57de20b5d48c4f1:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/velocity * [new ref] 708f616728caf1506da4ff9dd57de20b5d48c4f1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 708f616 Update code from upstream