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