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