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