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