$ git clone -n https://gitee.com/wanghuan158/gnome-shell.git /var/lib/mock/dist-an23.2-build-429788-73034/root/chroot_tmpdir/scmroot/gnome-shell Cloning into '/var/lib/mock/dist-an23.2-build-429788-73034/root/chroot_tmpdir/scmroot/gnome-shell'... $ git fetch origin b23cbe5fffe640438be0a717b1afb8ba0a729f27:KOJI_FETCH_HEAD From https://gitee.com/wanghuan158/gnome-shell * [new ref] b23cbe5fffe640438be0a717b1afb8ba0a729f27 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b23cbe5 update gnome-shell.spec.