$ git clone -n https://gitee.com/Weisson/libdb.git /var/lib/mock/dist-an8.9-build-400607-72335/root/chroot_tmpdir/scmroot/libdb Cloning into '/var/lib/mock/dist-an8.9-build-400607-72335/root/chroot_tmpdir/scmroot/libdb'... $ git reset --hard df3dde5fe2680038eee94dd2766854ae73458d39 HEAD is now at df3dde5 add sw8a