$ git clone -n https://src.fedoraproject.org/rpms/cgdb.git /var/lib/mock/f31-build-51235-27496/root/chroot_tmpdir/scmroot/cgdb Cloning into '/var/lib/mock/f31-build-51235-27496/root/chroot_tmpdir/scmroot/cgdb'... $ git reset --hard be8369ed917ae790c765c30c97e4e6897ebe6181 HEAD is now at be8369e - Automatically disable gdbs shell style.