-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #93 from olmps/updates-collections
Updates collections
- Loading branch information
Showing
7 changed files
with
2,229 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,295 @@ | ||
{ | ||
"id": "comecando_com_git", | ||
"name": "Começando com Git", | ||
"description": "\"Git é um sistema de controle de versões distribuído, usado principalmente no desenvolvimento de software, mas pode ser usado para registrar o histórico de edições de qualquer tipo de arquivo. O Git foi inicialmente projetado e desenvolvido por Linus Torvalds para o desenvolvimento do kernel Linux, mas foi adotado por muitos outros projetos.\" - Wikipedia, 2021.", | ||
"category": "Versionamento", | ||
"tags": ["git", "versionamento"], | ||
"memos": [ | ||
{ | ||
"uniqueId": "03a5f9b4-b424-4010-8027-1ef22c7480e7", | ||
"question": [ | ||
{ | ||
"insert": "Git\n" | ||
} | ||
], | ||
"answer": [ | ||
{ | ||
"insert": "Sistema de controle de versão distribuído\n" | ||
} | ||
] | ||
}, | ||
{ | ||
"uniqueId": "ef2c86e9-be54-46db-ae62-638a5dd4817b", | ||
"question": [ | ||
{ | ||
"insert": "Git lida com os seus dados como se fossem _____ de seus arquivos.\n" | ||
} | ||
], | ||
"answer": [ | ||
{ | ||
"insert": "uma série de fotografias (série de snapshots)\n" | ||
} | ||
] | ||
}, | ||
{ | ||
"uniqueId": "96809017-5352-4840-9c33-06fa9b7d4707", | ||
"question": [ | ||
{ | ||
"insert": "commit\n" | ||
} | ||
], | ||
"answer": [ | ||
{ | ||
"insert": "Fotografia do estado de todos os arquivos no git.\n" | ||
} | ||
] | ||
}, | ||
{ | ||
"uniqueId": "375a17e2-a43b-4cfc-83e8-4b9a2e3ac1ec", | ||
"question": [ | ||
{ | ||
"insert": "A cada commit, o git tira _____ de todos os arquivos.\n" | ||
} | ||
], | ||
"answer": [ | ||
{ | ||
"insert": "uma fotografia (snapshot)\n" | ||
} | ||
] | ||
}, | ||
{ | ||
"uniqueId": "ad70d01b-6f79-4bc1-88a5-d7149d8e597d", | ||
"question": [ | ||
{ | ||
"insert": "A cada commit, o git salva uma _____ para uma fotografia de todos os arquivos (snapshot).\n" | ||
} | ||
], | ||
"answer": [ | ||
{ | ||
"insert": "referência\n" | ||
} | ||
] | ||
}, | ||
{ | ||
"uniqueId": "0ba9ffdd-2937-47f3-a349-3a9000e2fc29", | ||
"question": [ | ||
{ | ||
"insert": "O Git aplica um hash _____ para verificar (checksum) seus conteúdos. \n" | ||
} | ||
], | ||
"answer": [ | ||
{ | ||
"insert": "SHA-1\n" | ||
} | ||
] | ||
}, | ||
{ | ||
"uniqueId": "8b1d2fd4-6b62-4932-a197-d822e9b149c1", | ||
"question": [ | ||
{ | ||
"insert": "c5c0cba68b55bc343b292366cf8981586e237dab\n" | ||
} | ||
], | ||
"answer": [ | ||
{ | ||
"insert": "aparência de um texto (\"memo\") aplicando a função hash SHA-1\n" | ||
} | ||
] | ||
}, | ||
{ | ||
"uniqueId": "4389e32f-eb66-48f2-b7fe-309c481329e4", | ||
"question": [ | ||
{ | ||
"insert": "Os 3 principais estados do Git\n" | ||
} | ||
], | ||
"answer": [ | ||
{ | ||
"insert": "modificado (modified), preparado (stage) e salvo (committed)\n" | ||
} | ||
] | ||
}, | ||
{ | ||
"uniqueId": "0653e8cb-44f8-47d3-aee5-0f79bff6107d", | ||
"question": [ | ||
{ | ||
"insert": "Working tree / Working directory (diretório de trabalho)\n" | ||
} | ||
], | ||
"answer": [ | ||
{ | ||
"insert": "diretório de uma cópia do repositório git\n" | ||
} | ||
] | ||
}, | ||
{ | ||
"uniqueId": "a6014e7a-777c-40ea-87af-4c7449c456eb", | ||
"question": [ | ||
{ | ||
"insert": "index / staging (índice ou área de preparo)\n" | ||
} | ||
], | ||
"answer": [ | ||
{ | ||
"insert": "arquivo (ou área) que contém todas as informações sobre o seu próximo commit\n" | ||
} | ||
] | ||
}, | ||
{ | ||
"uniqueId": "4e6e47d5-ef7c-4911-bd18-996a2a90ecbf", | ||
"question": [ | ||
{ | ||
"insert": "Qual é o estado de um arquivo que tem uma versão no diretório git?\n" | ||
} | ||
], | ||
"answer": [ | ||
{ | ||
"insert": "salvo (committed)\n" | ||
} | ||
] | ||
}, | ||
{ | ||
"uniqueId": "3e51e6bc-3882-46b6-b95b-7bf3e99672bb", | ||
"question": [ | ||
{ | ||
"insert": "Qual é o estado de um arquivo que tem foi adicionado à área de preparo (staging area)?\n" | ||
} | ||
], | ||
"answer": [ | ||
{ | ||
"insert": "preparado (staged)\n" | ||
} | ||
] | ||
}, | ||
{ | ||
"uniqueId": "e6f5a47b-19a4-42a5-af0c-b1ac078084db", | ||
"question": [ | ||
{ | ||
"insert": "Qual é o estado de um arquivo que foi modificado mas não adicionado à área de preparo (staging area)?\n" | ||
} | ||
], | ||
"answer": [ | ||
{ | ||
"insert": "modificado (modified)\n" | ||
} | ||
] | ||
}, | ||
{ | ||
"uniqueId": "ff065ef5-1662-4267-b7fb-f1de1c30bb13", | ||
"question": [ | ||
{ | ||
"insert": "O ___ _____ é uma ferramenta que visualiza e atribui variáveis que permitem o controle visual e comportamental do git\n" | ||
} | ||
], | ||
"answer": [ | ||
{ | ||
"insert": "git config\n" | ||
} | ||
] | ||
}, | ||
{ | ||
"uniqueId": "9689f175-1fd5-4927-bc25-0bae65ff0869", | ||
"question": [ | ||
{ | ||
"insert": "É muito importante configurar seu nome e email pois cada commit usa essa informação para _______________ \n" | ||
} | ||
], | ||
"answer": [ | ||
{ | ||
"insert": "identificar, de forma imutável, os commits feitos por você\n" | ||
} | ||
] | ||
}, | ||
{ | ||
"uniqueId": "8d53e6f0-f7f3-44a6-b8de-8b38a6875181", | ||
"question": [ | ||
{ | ||
"insert": "Qual é a diferença entre\n\ngit config --global user.name \"Mestre do Git\"\n\ne\n\ngit config user.name \"Mestre do Git\"\n" | ||
} | ||
], | ||
"answer": [ | ||
{ | ||
"insert": "Com a opção --global, sua credencial fica salva para sempre no seu sistema\n" | ||
} | ||
] | ||
}, | ||
{ | ||
"uniqueId": "3fd47834-f656-4deb-8ebb-4f136df5ed90", | ||
"question": [ | ||
{ | ||
"insert": "git config --global user.name \"Mestre do Git\"\n" | ||
} | ||
], | ||
"answer": [ | ||
{ | ||
"insert": "Configura globalmente o usuário do git como \"Mestre do Git\"\n" | ||
} | ||
] | ||
}, | ||
{ | ||
"uniqueId": "a7629f74-11ed-43d2-8aa5-bb1848bc2a6f", | ||
"question": [ | ||
{ | ||
"insert": "git config --global user.email mestre.do.git@provedor.com.br\n" | ||
} | ||
], | ||
"answer": [ | ||
{ | ||
"insert": "Configura globalmente o email do git como \"mestre.do.git@provedor.com.br\"\n" | ||
} | ||
] | ||
}, | ||
{ | ||
"uniqueId": "007e5805-2893-4ba0-9014-24aaff3a8077", | ||
"question": [ | ||
{ | ||
"insert": "$ git config --global core.editor emacs\n" | ||
} | ||
], | ||
"answer": [ | ||
{ | ||
"insert": "Configura o editor de texto padrão do git\n" | ||
} | ||
] | ||
}, | ||
{ | ||
"uniqueId": "2113e6d6-d788-4f50-a3ce-b539276a89fb", | ||
"question": [ | ||
{ | ||
"insert": "Comando para listar todas as configurações do git\n" | ||
} | ||
], | ||
"answer": [ | ||
{ | ||
"insert": "git config --list\n" | ||
} | ||
] | ||
}, | ||
{ | ||
"uniqueId": "cc2e93e2-b0b6-406d-b4be-3268d30f19fa", | ||
"question": [ | ||
{ | ||
"insert": "git config user.email\n" | ||
} | ||
], | ||
"answer": [ | ||
{ | ||
"insert": "Mostra o valor do email do usuário salvo no Git\n" | ||
} | ||
] | ||
}, | ||
{ | ||
"uniqueId": "c87fcf0e-9a3e-432a-a9e4-724844c5e9fa", | ||
"question": [ | ||
{ | ||
"insert": "Comando para visualizar o manual de ajuda do git\n" | ||
} | ||
], | ||
"answer": [ | ||
{ | ||
"insert": "git help <comando>\n" | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.