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