$ git clone -n https://gitee.com/bymego/openssh-portable.git /var/lib/mock/dist-an8.9-build-414500-72835/root/chroot_tmpdir/scmroot/openssh-portable Cloning into '/var/lib/mock/dist-an8.9-build-414500-72835/root/chroot_tmpdir/scmroot/openssh-portable'... $ git fetch origin 9e5bd74a85192c00a842f63d7ab788713b4284c3:KOJI_FETCH_HEAD From https://gitee.com/bymego/openssh-portable * [new ref] 9e5bd74a85192c00a842f63d7ab788713b4284c3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9e5bd74a8 upstream: - use \& when contructs like "e.g." end a line, to avoid