$ git clone -n https://src.fedoraproject.org/rpms/R-websocket.git /var/lib/mock/f33-build-383535-62133/root/chroot_tmpdir/scmroot/R-websocket Cloning into '/var/lib/mock/f33-build-383535-62133/root/chroot_tmpdir/scmroot/R-websocket'... $ git reset --hard d0d907a5a6eb6547e1fbe65b9a9a33f4d6be9583 HEAD is now at d0d907a Update to latest version.