$ git clone -n https://gitee.com/wenyuzifang/unbound.git /var/lib/mock/dist-an23-build-444555-73188/root/chroot_tmpdir/scmroot/unbound Cloning into '/var/lib/mock/dist-an23-build-444555-73188/root/chroot_tmpdir/scmroot/unbound'... $ git fetch origin 3a5f8aaa2ef1040c438bde4c8b8358f9ecf8f309:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/unbound * [new ref] 3a5f8aaa2ef1040c438bde4c8b8358f9ecf8f309 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3a5f8aa Update code from upstream