$ git clone -n https://gitee.com/lzq11122/libxcrypt.git /var/lib/mock/dist-an23-build-452736-73590/root/chroot_tmpdir/scmroot/libxcrypt Cloning into '/var/lib/mock/dist-an23-build-452736-73590/root/chroot_tmpdir/scmroot/libxcrypt'... $ git fetch origin 6c6a5a8c2cdf3997ff51c8a52e5801feb51adb0f:KOJI_FETCH_HEAD From https://gitee.com/lzq11122/libxcrypt * [new ref] 6c6a5a8c2cdf3997ff51c8a52e5801feb51adb0f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6c6a5a8 test