$ git clone -n https://gitee.com/xzyang-anolis/gdk-pixbuf2-xlib.git /var/lib/mock/dist-an23-dde-build-303750-66081/root/chroot_tmpdir/scmroot/gdk-pixbuf2-xlib Cloning into '/var/lib/mock/dist-an23-dde-build-303750-66081/root/chroot_tmpdir/scmroot/gdk-pixbuf2-xlib'... $ git fetch origin b94fd55aa84b6febdaa9faebc88cca379ed146c0:KOJI_FETCH_HEAD From https://gitee.com/xzyang-anolis/gdk-pixbuf2-xlib * [new ref] b94fd55aa84b6febdaa9faebc88cca379ed146c0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b94fd55 pkg init