$ git clone -n https://gitee.com/rabbitali/gpm.git /var/lib/mock/dist-an23-build-490645-74493/root/chroot_tmpdir/scmroot/gpm Cloning into '/var/lib/mock/dist-an23-build-490645-74493/root/chroot_tmpdir/scmroot/gpm'... $ git fetch origin 219e8a1511a1997501d9848245e5f75dc4269f7e:KOJI_FETCH_HEAD From https://gitee.com/rabbitali/gpm * [new ref] 219e8a1511a1997501d9848245e5f75dc4269f7e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 219e8a1 Update code from upstream