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