$ git clone -n https://gitee.com/lizhao2025/s-nail.git /var/lib/mock/dist-an23-build-500933-74764/root/chroot_tmpdir/scmroot/s-nail Cloning into '/var/lib/mock/dist-an23-build-500933-74764/root/chroot_tmpdir/scmroot/s-nail'... $ git fetch origin de2cd2f368a0efe87b9ea17446f0afccaed65869:KOJI_FETCH_HEAD From https://gitee.com/lizhao2025/s-nail * [new ref] de2cd2f368a0efe87b9ea17446f0afccaed65869 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at de2cd2f Update code from upstream