$ git clone -n https://gitee.com/Yang_X_Y/ruby.git /var/lib/mock/dist-an23.2-build-401962-72389/root/chroot_tmpdir/scmroot/ruby Cloning into '/var/lib/mock/dist-an23.2-build-401962-72389/root/chroot_tmpdir/scmroot/ruby'... $ git reset --hard c9769708e03fd800e0d9359d92bad8700107c2d0 HEAD is now at c976970 update