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