$ git clone -n https://src.fedoraproject.org/rpms/libdsk.git /var/lib/mock/f31-build-58494-28455/root/chroot_tmpdir/scmroot/libdsk Cloning into '/var/lib/mock/f31-build-58494-28455/root/chroot_tmpdir/scmroot/libdsk'... $ git reset --hard 9761b63c22698070542dcf36e2f2d348d2e505b7 HEAD is now at 9761b63 sync with latest upstream