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