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