$ git clone -n https://gitee.com/gao-shanzhi/libpng.git /var/lib/mock/dist-an8.6-build-156116-58346/root/chroot_tmpdir/scmroot/libpng Cloning into '/var/lib/mock/dist-an8.6-build-156116-58346/root/chroot_tmpdir/scmroot/libpng'... $ git reset --hard 5d003ee42155833fe8512d2685bdb7c9e0ecba50 HEAD is now at 5d003ee update to libpng-1.5.13-8.el7.src.rpm