$ git clone -n https://gitee.com/wenyuzifang/nss-altfiles.git /var/lib/mock/dist-an23-build-482806-74272/root/chroot_tmpdir/scmroot/nss-altfiles Cloning into '/var/lib/mock/dist-an23-build-482806-74272/root/chroot_tmpdir/scmroot/nss-altfiles'... $ git fetch origin 376aad70ed3e881842c893b52c567ae7b8ae1f27:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/nss-altfiles * [new ref] 376aad70ed3e881842c893b52c567ae7b8ae1f27 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 376aad7 Update code from upstream