110 lines
5.8 KiB
JSON
110 lines
5.8 KiB
JSON
[
|
|
{
|
|
"origin": "Gemini 3 Flash",
|
|
"sources": ["https://git-scm.com/docs"],
|
|
"title": "Software - Git - Inmersión Total",
|
|
"group": "git_total_immersion_kyman",
|
|
"queries": [
|
|
{
|
|
"question": "¿Qué {rand:comando|instrucción} se usa para {rand:inicializar|crear} un nuevo {rand:repositorio|proyecto} de Git en el directorio {rand:actual|donde nos encontramos}?",
|
|
"rights": ["git {rand:init|init --bare}."],
|
|
"brothers_are_wrongs": true
|
|
},
|
|
{
|
|
"question": "¿Qué {rand:comando|herramienta} permite {rand:ver|consultar} quién fue el {rand:último en modificar|autor de} cada línea de un {rand:archivo|fichero} específico?",
|
|
"rights": ["git {rand:blame|blame -L}."],
|
|
"brothers_are_wrongs": true
|
|
},
|
|
{
|
|
"question": "¿Qué {rand:parámetro|opción} de 'git branch' permite {rand:renombrar|cambiar el nombre de} la rama {rand:actual|en la que estamos}?",
|
|
"rights": ["git branch {rand:-m|-M}."],
|
|
"brothers_are_wrongs": true
|
|
},
|
|
{
|
|
"question": "¿Qué {rand:comando|acción} permite {rand:eliminar|borrar} una rama local que {rand:ya ha sido fusionada|está mergeada} con la rama principal?",
|
|
"rights": ["git branch {rand:-d|--delete}."],
|
|
"brothers_are_wrongs": true
|
|
},
|
|
{
|
|
"question": "¿Qué {rand:instrucción|comando} se usa para {rand:eliminar|borrar} una rama local de forma {rand:forzosa|obligatoria} {rand:sin importar|aunque no haya sido} su estado de fusión?",
|
|
"rights": ["git branch {rand:-D|--delete --force}."],
|
|
"brothers_are_wrongs": true
|
|
},
|
|
{
|
|
"question": "¿Qué {rand:comando|proceso} permite {rand:buscar|localizar} mediante {rand:búsqueda binaria|regresión} el commit que {rand:introdujo un error|causó un bug}?",
|
|
"rights": ["git {rand:bisect|bisect start}."],
|
|
"brothers_are_wrongs": true
|
|
},
|
|
{
|
|
"question": "¿Qué {rand:comando|utilidad} muestra un {rand:resumen|listado} de los commits {rand:en una sola línea|de forma compacta}?",
|
|
"rights": ["git {rand:log --oneline|shortlog}."],
|
|
"brothers_are_wrongs": true
|
|
},
|
|
{
|
|
"question": "¿Qué {rand:parámetro|opción} de 'git remote' permite {rand:ver|listar} las {rand:URLs|direcciones} de los repositorios {rand:remotos|conectados}?",
|
|
"rights": ["git remote {rand:-v|--verbose}."],
|
|
"brothers_are_wrongs": true
|
|
},
|
|
{
|
|
"question": "¿Qué {rand:comando|acción} permite {rand:crear|generar} una etiqueta ({rand:tag|marca}) para {rand:identificar|señalar} un punto específico en el historial como una versión?",
|
|
"rights": ["git {rand:tag|tag -a}."],
|
|
"brothers_are_wrongs": true
|
|
},
|
|
{
|
|
"question": "¿Qué {rand:comando|instrucción} permite {rand:cambiar|saltar} a una rama {rand:existente|creada anteriormente}?",
|
|
"rights": ["git {rand:checkout|switch}."],
|
|
"brothers_are_wrongs": true
|
|
},
|
|
{
|
|
"question": "¿Qué {rand:comando|opción} permite {rand:crear|generar} una nueva rama y {rand:moverse|cambiar} a ella {rand:simultáneamente|en un solo paso}?",
|
|
"rights": ["git {rand:checkout -b|switch -c}."],
|
|
"brothers_are_wrongs": true
|
|
},
|
|
{
|
|
"question": "¿Qué {rand:comando|utilidad} se usa para {rand:restaurar|recuperar} archivos del {rand:directorio de trabajo|entorno local} a partir del {rand:índice|staging area}?",
|
|
"rights": ["git {rand:restore|restore --staged}."],
|
|
"brothers_are_wrongs": true
|
|
},
|
|
{
|
|
"question": "¿Qué {rand:comando|acción} permite {rand:ver|mostrar} los metadatos y los {rand:cambios de contenido|detalles} de un {rand:objeto específico|commit concreto}?",
|
|
"rights": ["git {rand:show|show --summary}."],
|
|
"brothers_are_wrongs": true
|
|
},
|
|
{
|
|
"question": "¿Qué {rand:parámetro|opción} de 'git push' permite {rand:subir|enviar} todas las {rand:etiquetas|tags} al repositorio remoto?",
|
|
"rights": ["git push {rand:--tags|--follow-tags}."],
|
|
"brothers_are_wrongs": true
|
|
},
|
|
{
|
|
"question": "¿Qué {rand:comando|instrucción} se usa para {rand:clonar|copiar} un repositorio remoto {rand:incluyendo|con todo} su historial en un nuevo directorio?",
|
|
"rights": ["git {rand:clone|clone --recursive}."],
|
|
"brothers_are_wrongs": true
|
|
},
|
|
{
|
|
"question": "¿Qué {rand:comando|acción} permite {rand:limpiar|borrar} las ramas locales {rand:que ya no existen|borradas} en el servidor remoto?",
|
|
"rights": ["git {rand:remote prune|fetch --prune}."],
|
|
"brothers_are_wrongs": true
|
|
},
|
|
{
|
|
"question": "¿Qué {rand:comando|instrucción} se utiliza para {rand:empaquetar|comprimir} el repositorio {rand:optimizando|limpiando} la base de datos de objetos?",
|
|
"rights": ["git {rand:gc|gc --prune}."],
|
|
"brothers_are_wrongs": true
|
|
},
|
|
{
|
|
"question": "¿Qué {rand:comando|utilidad} permite {rand:fusionar|unir} los cambios de la rama remota en la rama actual {rand:automáticamente|directamente} tras la descarga?",
|
|
"rights": ["git {rand:pull|pull --rebase}."],
|
|
"brothers_are_wrongs": true
|
|
},
|
|
{
|
|
"question": "¿Qué {rand:parámetro|opción} de 'git log' permite {rand:visualizar|ver} el historial de commits en forma de {rand:gráfico ASCII|árbol visual}?",
|
|
"rights": ["git log {rand:--graph|--graph --decorate}."],
|
|
"brothers_are_wrongs": true
|
|
},
|
|
{
|
|
"question": "¿Qué {rand:comando|instrucción} permite {rand:quitar|eliminar} un archivo del {rand:área de preparación|staging area} pero {rand:manteniéndolo|dejándolo} en el disco?",
|
|
"rights": ["git {rand:rm --cached|reset HEAD}."],
|
|
"brothers_are_wrongs": true
|
|
}
|
|
]
|
|
}
|
|
] |