$ git clone -n https://gitee.com/guyvwang/passwd /var/lib/mock/dist-an23-build-181663-59801/root/chroot_tmpdir/scmroot/passwd Cloning into '/var/lib/mock/dist-an23-build-181663-59801/root/chroot_tmpdir/scmroot/passwd'... $ git fetch origin 57a3266b9d40a3c2e8520c2eeac6cf1b610838d3:KOJI_FETCH_HEAD From https://gitee.com/guyvwang/passwd * [new ref] 57a3266b9d40a3c2e8520c2eeac6cf1b610838d3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 57a3266 update passwd pkg