$ git clone -n https://gitee.com/happy_orange/sysom.git /var/lib/mock/dist-an23-build-208163-61729/root/chroot_tmpdir/scmroot/sysom Cloning into '/var/lib/mock/dist-an23-build-208163-61729/root/chroot_tmpdir/scmroot/sysom'... $ git reset --hard 7f18a0df6d077e21fd0b920553ba99364b27b122 HEAD is now at 7f18a0d update the source code