$ git clone -n https://src.fedoraproject.org/rpms/gdcm.git /var/lib/mock/f33-build-316165-57754/root/chroot_tmpdir/scmroot/gdcm Cloning into '/var/lib/mock/f33-build-316165-57754/root/chroot_tmpdir/scmroot/gdcm'... $ git reset --hard dddc191277e5d544ff3fb096583cf0f9bcbb3dc2 HEAD is now at dddc191 Re-add second source