mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 16:38:50 +02:00
#705 Add missing period characters
This commit is contained in:
parent
3d2d3dac42
commit
7d5e83610a
25 changed files with 253 additions and 253 deletions
|
@ -466,7 +466,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Para completar este nivel, creá una nueva rama en la ubicación indicada.",
|
"Para completar este nivel, creá una nueva rama en la ubicación indicada.",
|
||||||
"",
|
"",
|
||||||
"Obviamente sería muy fácil especificar el commit directamente (algo como `C6`), pero te reto a usar los modificadores de los que estuvimos hablando, mejor"
|
"Obviamente sería muy fácil especificar el commit directamente (algo como `C6`), pero te reto a usar los modificadores de los que estuvimos hablando, mejor."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -553,7 +553,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Para completar este nivel, crea una nueva rama en la ubicación indicada.",
|
"Para completar este nivel, crea una nueva rama en la ubicación indicada.",
|
||||||
"",
|
"",
|
||||||
"Obviamente sería muy fácil especificar el commit directamente (algo como `C6`), pero te reto a usar los modificadores de los que estuvimos hablando, mejor"
|
"Obviamente sería muy fácil especificar el commit directamente (algo como `C6`), pero te reto a usar los modificadores de los que estuvimos hablando, mejor."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,10 +65,10 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Let's see what branches look like in practice.",
|
"Let's see what branches look like in practice.",
|
||||||
"",
|
"",
|
||||||
"Here we will create a new branch named `newImage`"
|
"Here we will create a new branch named `newImage`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"There, that's all there is to branching! The branch `newImage` now refers to commit `C1`"
|
"There, that's all there is to branching! The branch `newImage` now refers to commit `C1`."
|
||||||
],
|
],
|
||||||
"command": "git branch newImage",
|
"command": "git branch newImage",
|
||||||
"beforeCommand": ""
|
"beforeCommand": ""
|
||||||
|
@ -78,10 +78,10 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Let's try to put some work on this new branch. Hit the button below"
|
"Let's try to put some work on this new branch. Hit the button below."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Oh no! The `master` branch moved but the `newImage` branch didn't! That's because we weren't \"on\" the new branch, which is why the asterisk (*) was on `master`"
|
"Oh no! The `master` branch moved but the `newImage` branch didn't! That's because we weren't \"on\" the new branch, which is why the asterisk (*) was on `master`."
|
||||||
],
|
],
|
||||||
"command": "git commit",
|
"command": "git commit",
|
||||||
"beforeCommand": "git branch newImage"
|
"beforeCommand": "git branch newImage"
|
||||||
|
@ -97,10 +97,10 @@ exports.level = {
|
||||||
"git checkout <name>",
|
"git checkout <name>",
|
||||||
"```",
|
"```",
|
||||||
"",
|
"",
|
||||||
"This will put us on the new branch before committing our changes"
|
"This will put us on the new branch before committing our changes."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"There we go! Our changes were recorded on the new branch"
|
"There we go! Our changes were recorded on the new branch."
|
||||||
],
|
],
|
||||||
"command": "git checkout newImage; git commit",
|
"command": "git checkout newImage; git commit",
|
||||||
"beforeCommand": "git branch newImage"
|
"beforeCommand": "git branch newImage"
|
||||||
|
@ -298,10 +298,10 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Veamos cómo se ven las ramas en práctica.",
|
"Veamos cómo se ven las ramas en práctica.",
|
||||||
"",
|
"",
|
||||||
"Acá vamos a crear una rama nueva llamada `newImage`"
|
"Acá vamos a crear una rama nueva llamada `newImage`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Ahí está, ¡eso es todo lo que hay que hacer para branchear! La rama `newImage` ahora referencia al commit `C1`"
|
"Ahí está, ¡eso es todo lo que hay que hacer para branchear! La rama `newImage` ahora referencia al commit `C1`."
|
||||||
],
|
],
|
||||||
"command": "git branch newImage",
|
"command": "git branch newImage",
|
||||||
"beforeCommand": ""
|
"beforeCommand": ""
|
||||||
|
@ -311,10 +311,10 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Pongamos algo de trabajo en esta nueva rama. Apretá el botón de acá abajo"
|
"Pongamos algo de trabajo en esta nueva rama. Apretá el botón de acá abajo."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Uh, no! ¡La rama `master` avanzó, pero `newImage` no! Eso es porque no estábamos \"en\" la rama nueva, y por eso el asterisco (*) estaba en `master`"
|
"¡Uh, no! ¡La rama `master` avanzó, pero `newImage` no! Eso es porque no estábamos \"en\" la rama nueva, y por eso el asterisco (*) estaba en `master`."
|
||||||
],
|
],
|
||||||
"command": "git commit",
|
"command": "git commit",
|
||||||
"beforeCommand": "git branch newImage"
|
"beforeCommand": "git branch newImage"
|
||||||
|
@ -330,10 +330,10 @@ exports.level = {
|
||||||
"git checkout [name]",
|
"git checkout [name]",
|
||||||
"```",
|
"```",
|
||||||
"",
|
"",
|
||||||
"Esto va a situarnos en esa rama antes de commitear nuestros cambios"
|
"Esto va a situarnos en esa rama antes de commitear nuestros cambios."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Ahí estamos! Nuestros cambios se registraron en nuestra nueva rama"
|
"¡Ahí estamos! Nuestros cambios se registraron en nuestra nueva rama."
|
||||||
],
|
],
|
||||||
"command": "git checkout newImage; git commit",
|
"command": "git checkout newImage; git commit",
|
||||||
"beforeCommand": "git branch newImage"
|
"beforeCommand": "git branch newImage"
|
||||||
|
@ -344,7 +344,7 @@ exports.level = {
|
||||||
"options": {
|
"options": {
|
||||||
"markdowns": [
|
"markdowns": [
|
||||||
"¡Ok! Ya estás listo para manejar ramas. Cuando se cierre esta ventana,",
|
"¡Ok! Ya estás listo para manejar ramas. Cuando se cierre esta ventana,",
|
||||||
"creá una nueva rama llamada `bugFix` y cambiate a ella"
|
"creá una nueva rama llamada `bugFix` y cambiate a ella."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -376,10 +376,10 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Veamos cómo son las ramas en la práctica.",
|
"Veamos cómo son las ramas en la práctica.",
|
||||||
"",
|
"",
|
||||||
"Ahora vamos a crear una rama nueva llamada `newImage`"
|
"Ahora vamos a crear una rama nueva llamada `newImage`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Ahí está, ¡eso es todo lo que hay que hacer para crear una rama! La rama `newImage` ahora referencia al commit `C1`"
|
"Ahí está, ¡eso es todo lo que hay que hacer para crear una rama! La rama `newImage` ahora referencia al commit `C1`."
|
||||||
],
|
],
|
||||||
"command": "git branch newImage",
|
"command": "git branch newImage",
|
||||||
"beforeCommand": ""
|
"beforeCommand": ""
|
||||||
|
@ -389,10 +389,10 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Pongamos algo de trabajo en esta nueva rama. Aprieta el botón de aquí abajo"
|
"Pongamos algo de trabajo en esta nueva rama. Aprieta el botón de aquí abajo."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Vaya! ¡La rama `master` avanzó, pero `newImage` no! Eso es porque no estábamos \"en\" la rama nueva, y por eso el asterisco (*) estaba en `master`"
|
"¡Vaya! ¡La rama `master` avanzó, pero `newImage` no! Eso es porque no estábamos \"en\" la rama nueva, y por eso el asterisco (*) estaba en `master`."
|
||||||
],
|
],
|
||||||
"command": "git commit",
|
"command": "git commit",
|
||||||
"beforeCommand": "git branch newImage"
|
"beforeCommand": "git branch newImage"
|
||||||
|
@ -408,10 +408,10 @@ exports.level = {
|
||||||
"git checkout [name]",
|
"git checkout [name]",
|
||||||
"```",
|
"```",
|
||||||
"",
|
"",
|
||||||
"Esto va a situarnos en esa rama antes de hacer un commit con nuestros cambios"
|
"Esto va a situarnos en esa rama antes de hacer un commit con nuestros cambios."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Ahí estamos! Nuestros cambios se registraron en nuestra nueva rama"
|
"¡Ahí estamos! Nuestros cambios se registraron en nuestra nueva rama."
|
||||||
],
|
],
|
||||||
"command": "git checkout newImage; git commit",
|
"command": "git checkout newImage; git commit",
|
||||||
"beforeCommand": "git branch newImage"
|
"beforeCommand": "git branch newImage"
|
||||||
|
@ -422,7 +422,7 @@ exports.level = {
|
||||||
"options": {
|
"options": {
|
||||||
"markdowns": [
|
"markdowns": [
|
||||||
"¡Perfecto! Ya estás listo para trabajar con ramas. Cuando se cierre esta ventana,",
|
"¡Perfecto! Ya estás listo para trabajar con ramas. Cuando se cierre esta ventana,",
|
||||||
"crea una nueva rama llamada `bugFix` y cámbiate a ella"
|
"crea una nueva rama llamada `bugFix` y cámbiate a ella."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -454,10 +454,10 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Vejamos como os ramos funcionam na prática.",
|
"Vejamos como os ramos funcionam na prática.",
|
||||||
"",
|
"",
|
||||||
"Aqui vamos criar um novo ramo chamado `newImage`"
|
"Aqui vamos criar um novo ramo chamado `newImage`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Veja, é só isso que você tem que fazer para ramificar! O ramo `newImage` agora se refere ao commit `C1`"
|
"Veja, é só isso que você tem que fazer para ramificar! O ramo `newImage` agora se refere ao commit `C1`."
|
||||||
],
|
],
|
||||||
"command": "git branch newImage",
|
"command": "git branch newImage",
|
||||||
"beforeCommand": ""
|
"beforeCommand": ""
|
||||||
|
@ -467,10 +467,10 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Vamos tentar colocar algum trabalho neste novo ramo. Clique no botão abaixo"
|
"Vamos tentar colocar algum trabalho neste novo ramo. Clique no botão abaixo."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Ah não! O ramo `master` se moveu mas o `newImage` não! Isso é porque o novo ramo não era o \"ativo\", e é por isso que o asterisco (*) estava no `master`"
|
"Ah não! O ramo `master` se moveu mas o `newImage` não! Isso é porque o novo ramo não era o \"ativo\", e é por isso que o asterisco (*) estava no `master`."
|
||||||
],
|
],
|
||||||
"command": "git commit",
|
"command": "git commit",
|
||||||
"beforeCommand": "git branch newImage"
|
"beforeCommand": "git branch newImage"
|
||||||
|
@ -486,10 +486,10 @@ exports.level = {
|
||||||
"git checkout [nome]",
|
"git checkout [nome]",
|
||||||
"```",
|
"```",
|
||||||
"",
|
"",
|
||||||
"Isso vai nos situar no ramo antes de commitarmos nossas mudanças"
|
"Isso vai nos situar no ramo antes de commitarmos nossas mudanças."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Aqui vamos nós! Nossas mudanças foram gravadas no novo ramo"
|
"Aqui vamos nós! Nossas mudanças foram gravadas no novo ramo."
|
||||||
],
|
],
|
||||||
"command": "git checkout newImage; git commit",
|
"command": "git checkout newImage; git commit",
|
||||||
"beforeCommand": "git branch newImage"
|
"beforeCommand": "git branch newImage"
|
||||||
|
@ -500,7 +500,7 @@ exports.level = {
|
||||||
"options": {
|
"options": {
|
||||||
"markdowns": [
|
"markdowns": [
|
||||||
"Ok! Vocês estão todos prontos para ramificar. Assim que esta janela fechar,",
|
"Ok! Vocês estão todos prontos para ramificar. Assim que esta janela fechar,",
|
||||||
"crie um novo ramo chamado `bugFix` e mude para esse ramo"
|
"crie um novo ramo chamado `bugFix` e mude para esse ramo."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -532,10 +532,10 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Vexamos cómo as ramas funcionan na práctica.",
|
"Vexamos cómo as ramas funcionan na práctica.",
|
||||||
"",
|
"",
|
||||||
"Aquí imos crear unha nova rama chamada `newImage`"
|
"Aquí imos crear unha nova rama chamada `newImage`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Mira, solo tes que poñer eso para crear unha rama! A rama `newImage` agora apunta ó commit `C1`"
|
"Mira, solo tes que poñer eso para crear unha rama! A rama `newImage` agora apunta ó commit `C1`."
|
||||||
],
|
],
|
||||||
"command": "git branch newImage",
|
"command": "git branch newImage",
|
||||||
"beforeCommand": ""
|
"beforeCommand": ""
|
||||||
|
@ -545,10 +545,10 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Imos intentar colocar algún traballo nesta nova rama. Pincha no botón de abaixo"
|
"Imos intentar colocar algún traballo nesta nova rama. Pincha no botón de abaixo."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Bueno home! A rama `master` moveuse pero a rama `newImage` non! Eso é porque a nova rama non era a \"actual\", e é por iso que o asterisco (*) ficaba na rama `master`"
|
"¡Bueno home! A rama `master` moveuse pero a rama `newImage` non! Eso é porque a nova rama non era a \"actual\", e é por iso que o asterisco (*) ficaba na rama `master`."
|
||||||
],
|
],
|
||||||
"command": "git commit",
|
"command": "git commit",
|
||||||
"beforeCommand": "git branch newImage"
|
"beforeCommand": "git branch newImage"
|
||||||
|
@ -614,10 +614,10 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Regardons à quoi ressemblent les branches en pratique.",
|
"Regardons à quoi ressemblent les branches en pratique.",
|
||||||
"",
|
"",
|
||||||
"Nous allons nous positionner (checkout) dans une nouvelle branche appellée `newImage`"
|
"Nous allons nous positionner (checkout) dans une nouvelle branche appellée `newImage`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Et voilà, c'est tout ! La branche `newImage` se réfère désormais au commit `C1`"
|
"Et voilà, c'est tout ! La branche `newImage` se réfère désormais au commit `C1`."
|
||||||
],
|
],
|
||||||
"command": "git branch newImage",
|
"command": "git branch newImage",
|
||||||
"beforeCommand": ""
|
"beforeCommand": ""
|
||||||
|
@ -630,7 +630,7 @@ exports.level = {
|
||||||
"Travaillons mainenant dans cette branche. Appuyez sur le bouton ci-dessous."
|
"Travaillons mainenant dans cette branche. Appuyez sur le bouton ci-dessous."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Oh non! La branche `master` a bougé mais pas la branche `newImage` ! C'est parce que nous n'étions pas \"sur\" la nouvelle branche, comme indiqué par l'astérisque (*) sur `master`"
|
"Oh non! La branche `master` a bougé mais pas la branche `newImage` ! C'est parce que nous n'étions pas \"sur\" la nouvelle branche, comme indiqué par l'astérisque (*) sur `master`."
|
||||||
],
|
],
|
||||||
"command": "git commit",
|
"command": "git commit",
|
||||||
"beforeCommand": "git branch newImage"
|
"beforeCommand": "git branch newImage"
|
||||||
|
@ -646,10 +646,10 @@ exports.level = {
|
||||||
"git checkout [nom]",
|
"git checkout [nom]",
|
||||||
"```",
|
"```",
|
||||||
"",
|
"",
|
||||||
"Cela nous positionne sur la nouvelle branche avant de faire un commit avec nos modifications"
|
"Cela nous positionne sur la nouvelle branche avant de faire un commit avec nos modifications."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"C'est parti ! Nos modifications ont été enregistrées sur la nouvelle branche"
|
"C'est parti ! Nos modifications ont été enregistrées sur la nouvelle branche."
|
||||||
],
|
],
|
||||||
"command": "git checkout newImage; git commit",
|
"command": "git checkout newImage; git commit",
|
||||||
"beforeCommand": "git branch newImage"
|
"beforeCommand": "git branch newImage"
|
||||||
|
@ -660,7 +660,7 @@ exports.level = {
|
||||||
"options": {
|
"options": {
|
||||||
"markdowns": [
|
"markdowns": [
|
||||||
"Ok! Vous êtes fin prêt pour faire des branches. Après la fermeture de cette fenêtre,",
|
"Ok! Vous êtes fin prêt pour faire des branches. Après la fermeture de cette fenêtre,",
|
||||||
"faites une nouvelle branche nommée `bugFix` et positionnez-vous sur cette branche"
|
"faites une nouvelle branche nommée `bugFix` et positionnez-vous sur cette branche."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -928,10 +928,10 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Посмотрим, что такое ветки на практике",
|
"Посмотрим, что такое ветки на практике",
|
||||||
"",
|
"",
|
||||||
"Создадим здесь новую ветку с именем newImage"
|
"Создадим здесь новую ветку с именем newImage."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Вот и всё, ребята! Ветка newImage теперь указывает на коммит C1"
|
"Вот и всё, ребята! Ветка newImage теперь указывает на коммит C1."
|
||||||
],
|
],
|
||||||
"command": "git branch newImage",
|
"command": "git branch newImage",
|
||||||
"beforeCommand": ""
|
"beforeCommand": ""
|
||||||
|
@ -944,7 +944,7 @@ exports.level = {
|
||||||
"Теперь попробуем сделать некоторые изменения в этой ветке. Для этого нажми кнопку ниже."
|
"Теперь попробуем сделать некоторые изменения в этой ветке. Для этого нажми кнопку ниже."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"О-оу! Ветка master сдвинулась, тогда как ветка newImage - нет! Всё из-за того, что мы не переключились на новую ветку, а остались в старой, о чём говорит звёздочка около ветки master"
|
"О-оу! Ветка master сдвинулась, тогда как ветка newImage - нет! Всё из-за того, что мы не переключились на новую ветку, а остались в старой, о чём говорит звёздочка около ветки master."
|
||||||
],
|
],
|
||||||
"command": "git commit",
|
"command": "git commit",
|
||||||
"beforeCommand": "git branch newImage"
|
"beforeCommand": "git branch newImage"
|
||||||
|
@ -1087,10 +1087,10 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Nào hãy xem nhánh trong Git hoạt động thế nào.",
|
"Nào hãy xem nhánh trong Git hoạt động thế nào.",
|
||||||
"",
|
"",
|
||||||
"Giờ chúng ta tạo một nhánh mới tên là `newImage`"
|
"Giờ chúng ta tạo một nhánh mới tên là `newImage`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Đó, rẽ nhánh là thế đó! Nhánh `newImage` giờ đã tham chiếu đến commit `C1`"
|
"Đó, rẽ nhánh là thế đó! Nhánh `newImage` giờ đã tham chiếu đến commit `C1`."
|
||||||
],
|
],
|
||||||
"command": "git branch newImage",
|
"command": "git branch newImage",
|
||||||
"beforeCommand": ""
|
"beforeCommand": ""
|
||||||
|
@ -1103,7 +1103,7 @@ exports.level = {
|
||||||
"Nào cùng thử thêm nội dung vào nhánh mới này nào. Hãy bấm nút bên dưới"
|
"Nào cùng thử thêm nội dung vào nhánh mới này nào. Hãy bấm nút bên dưới"
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Ồ không! Nhánh `master` đã di chuyển nhưng nhánh `newImage` thì không! Đó là do ta không \"nằm trên\" nhánh mới, đó là tại sao dấu hoa thị (*) nằm trên nhánh `master`"
|
"Ồ không! Nhánh `master` đã di chuyển nhưng nhánh `newImage` thì không! Đó là do ta không \"nằm trên\" nhánh mới, đó là tại sao dấu hoa thị (*) nằm trên nhánh `master`."
|
||||||
],
|
],
|
||||||
"command": "git commit",
|
"command": "git commit",
|
||||||
"beforeCommand": "git branch newImage"
|
"beforeCommand": "git branch newImage"
|
||||||
|
@ -1119,7 +1119,7 @@ exports.level = {
|
||||||
"git checkout <name>",
|
"git checkout <name>",
|
||||||
"```",
|
"```",
|
||||||
"",
|
"",
|
||||||
"Lệnh này sẽ chuyển ta sang nhánh mới trước khi commit"
|
"Lệnh này sẽ chuyển ta sang nhánh mới trước khi commit."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Đó! Thay đổi của ta đã được lưu sang nhánh mới"
|
"Đó! Thay đổi của ta đã được lưu sang nhánh mới"
|
||||||
|
@ -1169,10 +1169,10 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Poglejmo kako branchi izgledajo v praksi.",
|
"Poglejmo kako branchi izgledajo v praksi.",
|
||||||
"",
|
"",
|
||||||
"Tu bomo ustvarili nov branch imenovan `newImage`"
|
"Tu bomo ustvarili nov branch imenovan `newImage`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Tako, to je vsa umetnost branchanja! Branch poimenovan `newImage` se sedaj nanaša na commit `C1`"
|
"Tako, to je vsa umetnost branchanja! Branch poimenovan `newImage` se sedaj nanaša na commit `C1`."
|
||||||
],
|
],
|
||||||
"command": "git branch newImage",
|
"command": "git branch newImage",
|
||||||
"beforeCommand": ""
|
"beforeCommand": ""
|
||||||
|
@ -1182,7 +1182,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Poizkusimo dodati nekaj dela na ta nov branch. Pristisni gumb spodaj"
|
"Poizkusimo dodati nekaj dela na ta nov branch. Pristisni gumb spodaj."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"O ne! `master` branch se je premaknil ampak `newImage` branch se pa ni! To je zato, ker nismo bili \"na\" novem branchu, kot smo lahko videli z označeno zvezdico (*) na `master` branchu."
|
"O ne! `master` branch se je premaknil ampak `newImage` branch se pa ni! To je zato, ker nismo bili \"na\" novem branchu, kot smo lahko videli z označeno zvezdico (*) na `master` branchu."
|
||||||
|
|
|
@ -63,7 +63,7 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Let's see what this looks like in practice. On the right we have a visualization of a (small) git repository. There are two commits right now -- the first initial commit, `C0`, and one commit after that `C1` that might have some meaningful changes.",
|
"Let's see what this looks like in practice. On the right we have a visualization of a (small) git repository. There are two commits right now -- the first initial commit, `C0`, and one commit after that `C1` that might have some meaningful changes.",
|
||||||
"",
|
"",
|
||||||
"Hit the button below to make a new commit"
|
"Hit the button below to make a new commit."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"There we go! Awesome. We just made changes to the repository and saved them as a commit. The commit we just made has a parent, `C1`, which references which commit it was based off of."
|
"There we go! Awesome. We just made changes to the repository and saved them as a commit. The commit we just made has a parent, `C1`, which references which commit it was based off of."
|
||||||
|
@ -76,7 +76,7 @@ exports.level = {
|
||||||
"type": "ModalAlert",
|
"type": "ModalAlert",
|
||||||
"options": {
|
"options": {
|
||||||
"markdowns": [
|
"markdowns": [
|
||||||
"Go ahead and try it out on your own! After this window closes, make two commits to complete the level"
|
"Go ahead and try it out on your own! After this window closes, make two commits to complete the level."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -193,7 +193,7 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Veamos cómo se ve esto en la práctica. A la derecha tenemos una visualización de un (pequeño) repositorio git. Hay dos commits ahora: el commit inicial, `C0`, y un commit que lo sigue, `C1`, que podría tener algunos cambios interesantes.",
|
"Veamos cómo se ve esto en la práctica. A la derecha tenemos una visualización de un (pequeño) repositorio git. Hay dos commits ahora: el commit inicial, `C0`, y un commit que lo sigue, `C1`, que podría tener algunos cambios interesantes.",
|
||||||
"",
|
"",
|
||||||
"Dale al botón de abajo para hacer un nuevo commit"
|
"Dale al botón de abajo para hacer un nuevo commit."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Ahí va! Increíble. Acabamos de hacer cambios al repositorio y los guardamos como un commit. El commit que acabamos de crear tiene un padre, `C1`, que referencia al commit en que se basó este."
|
"¡Ahí va! Increíble. Acabamos de hacer cambios al repositorio y los guardamos como un commit. El commit que acabamos de crear tiene un padre, `C1`, que referencia al commit en que se basó este."
|
||||||
|
@ -235,7 +235,7 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Veamos cómo se ve esto en la práctica. A la derecha tenemos una visualización de un (pequeño) repositorio git. Hay dos commits: el commit inicial, `C0`, y un commit que lo sigue, `C1`, que podría tener algunos cambios interesantes.",
|
"Veamos cómo se ve esto en la práctica. A la derecha tenemos una visualización de un (pequeño) repositorio git. Hay dos commits: el commit inicial, `C0`, y un commit que lo sigue, `C1`, que podría tener algunos cambios interesantes.",
|
||||||
"",
|
"",
|
||||||
"Dale al botón de abajo para crear un nuevo commit"
|
"Dale al botón de abajo para crear un nuevo commit."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Allá va! Increíble. Acabamos de hacer cambios al repositorio y los guardamos como un commit. El commit que acabamos de crear tiene un padre, `C1`, que referencia al commit en el que se basó este."
|
"¡Allá va! Increíble. Acabamos de hacer cambios al repositorio y los guardamos como un commit. El commit que acabamos de crear tiene un padre, `C1`, que referencia al commit en el que se basó este."
|
||||||
|
@ -277,7 +277,7 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Vejamos o que isso significa na prática. À direita, temos uma visualização de um (pequeno) repositório git. Há dois commits no momento: o commit inicial, `C0`, e um commit que se segue, `C1`, que poderia conter algumas mudanças interessantes.",
|
"Vejamos o que isso significa na prática. À direita, temos uma visualização de um (pequeno) repositório git. Há dois commits no momento: o commit inicial, `C0`, e um commit que se segue, `C1`, que poderia conter algumas mudanças interessantes.",
|
||||||
"",
|
"",
|
||||||
"Clique no botão abaixo para fazer um novo commit"
|
"Clique no botão abaixo para fazer um novo commit."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Aí vamos nós! Incrível. Acabamos de fazer mudanças no repositório e as guardamos como um commit. O commit que acabamos de criar tem um pai, `C1`, que referencia em qual commit ele se baseou."
|
"Aí vamos nós! Incrível. Acabamos de fazer mudanças no repositório e as guardamos como um commit. O commit que acabamos de criar tem um pai, `C1`, que referencia em qual commit ele se baseou."
|
||||||
|
@ -319,7 +319,7 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Vexamos o que iso significa na práctica. Á dereita, temos unha visualización dun (pequeno) repositorio de git. Hai dous commits por agora: o commit inicial, `C0`, e un commit que lle segue, `C1`, que podería ter algúns cambios interesantes.",
|
"Vexamos o que iso significa na práctica. Á dereita, temos unha visualización dun (pequeno) repositorio de git. Hai dous commits por agora: o commit inicial, `C0`, e un commit que lle segue, `C1`, que podería ter algúns cambios interesantes.",
|
||||||
"",
|
"",
|
||||||
"Pincha no botón de abaixo para facer un novo commit"
|
"Pincha no botón de abaixo para facer un novo commit."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Alá imos! Mi ma!. Fixemos cambios no repositorio e gardámolos nun commit. O commit que creaches ten un pai, `C1`, que é unha referencia do commit no que se basea."
|
"¡Alá imos! Mi ma!. Fixemos cambios no repositorio e gardámolos nun commit. O commit que creaches ten un pai, `C1`, que é unha referencia do commit no que se basea."
|
||||||
|
@ -365,7 +365,7 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Voyons à quoi cela ressemble en pratique. Sur la droite, on peut visualiser un (petit) dépôt git. Il y a pour l'instant deux commits -- le premier commit initial, `C0`, et un commit suivant `C1` qui aurait des changements significatifs.",
|
"Voyons à quoi cela ressemble en pratique. Sur la droite, on peut visualiser un (petit) dépôt git. Il y a pour l'instant deux commits -- le premier commit initial, `C0`, et un commit suivant `C1` qui aurait des changements significatifs.",
|
||||||
"",
|
"",
|
||||||
"Appuyez sur le bouton ci-dessous pour faire un nouveau commit"
|
"Appuyez sur le bouton ci-dessous pour faire un nouveau commit."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"C'est parti ! Super. Nous venons de faire des modifications sur le dépôt et de sauvegarder celles-ci dans un commit. Ce commit que nous venons de faire a un parent, `C1`, qui référence le commit sur lequel il est basé."
|
"C'est parti ! Super. Nous venons de faire des modifications sur le dépôt et de sauvegarder celles-ci dans un commit. Ce commit que nous venons de faire a un parent, `C1`, qui référence le commit sur lequel il est basé."
|
||||||
|
@ -661,7 +661,7 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Poglejmo kako to izgleda v praksi. Na desni imamo vizualizacijo (majhnega) git repozitorija. Trenutno imamo dva commita -- prvi začetni commit, `C0`, in še en commit za tem, `C1`, ki ima lahko pomembne spremembe.",
|
"Poglejmo kako to izgleda v praksi. Na desni imamo vizualizacijo (majhnega) git repozitorija. Trenutno imamo dva commita -- prvi začetni commit, `C0`, in še en commit za tem, `C1`, ki ima lahko pomembne spremembe.",
|
||||||
"",
|
"",
|
||||||
"Pritisni gumb spodaj, da narediš nov commit"
|
"Pritisni gumb spodaj, da narediš nov commit."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Tako ja! Super. Pravkar smo naredili spremembe v repozitoriju in jih shranili kot commit. Commit, ki smo ga naredili ima starša, `C1`, ki nam pove iz katerega commita smo izhajali."
|
"Tako ja! Super. Pravkar smo naredili spremembe v repozitoriju in jih shranili kot commit. Commit, ki smo ga naredili ima starša, `C1`, ki nam pove iz katerega commita smo izhajali."
|
||||||
|
|
|
@ -51,7 +51,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"The first method to combine work that we will examine is `git merge`. Merging in Git creates a special commit that has two unique parents. A commit with two parents essentially means \"I want to include all the work from this parent over here and this one over here, *and* the set of all their parents.\"",
|
"The first method to combine work that we will examine is `git merge`. Merging in Git creates a special commit that has two unique parents. A commit with two parents essentially means \"I want to include all the work from this parent over here and this one over here, *and* the set of all their parents.\"",
|
||||||
"",
|
"",
|
||||||
"It's easier with visuals, let's check it out in the next view"
|
"It's easier with visuals, let's check it out in the next view."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -61,7 +61,7 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Here we have two branches; each has one commit that's unique. This means that neither branch includes the entire set of \"work\" in the repository that we have done. Let's fix that with merge.",
|
"Here we have two branches; each has one commit that's unique. This means that neither branch includes the entire set of \"work\" in the repository that we have done. Let's fix that with merge.",
|
||||||
"",
|
"",
|
||||||
"We will `merge` the branch `bugFix` into `master`"
|
"We will `merge` the branch `bugFix` into `master`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Woah! See that? First of all, `master` now points to a commit that has two parents. If you follow the arrows up the commit tree from `master`, you will hit every commit along the way to the root. This means that `master` contains all the work in the repository now.",
|
"Woah! See that? First of all, `master` now points to a commit that has two parents. If you follow the arrows up the commit tree from `master`, you will hit every commit along the way to the root. This means that `master` contains all the work in the repository now.",
|
||||||
|
@ -120,7 +120,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Die einfachste Methode, mit der man Branches zusammenführen kann, ist `git merge`. Das Mergen erzeugt in git einen speziellen Commit, der zwei Vorgänger hat. Ein solcher Commit bedeutet im Prinzip \"ich möchte alle Arbeit von dem Vorgänger hier und dem dort *und* allen ihren jeweiligen Vorgängern miteinander kombinieren\".",
|
"Die einfachste Methode, mit der man Branches zusammenführen kann, ist `git merge`. Das Mergen erzeugt in git einen speziellen Commit, der zwei Vorgänger hat. Ein solcher Commit bedeutet im Prinzip \"ich möchte alle Arbeit von dem Vorgänger hier und dem dort *und* allen ihren jeweiligen Vorgängern miteinander kombinieren\".",
|
||||||
"",
|
"",
|
||||||
"Grafisch dargestellt ist es einfacher zu verstehen, lass es uns mal ansehen"
|
"Grafisch dargestellt ist es einfacher zu verstehen, lass es uns mal ansehen."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -130,7 +130,7 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Hier haben wir zwei Branches; jeder besteht jeweils aus einem eigenen Commit. Das bedeutet, dass keiner der beiden Branches alle Inhalte des gesamten Repositorys kennt. Das werden wir mit einem Merge ändern.",
|
"Hier haben wir zwei Branches; jeder besteht jeweils aus einem eigenen Commit. Das bedeutet, dass keiner der beiden Branches alle Inhalte des gesamten Repositorys kennt. Das werden wir mit einem Merge ändern.",
|
||||||
"",
|
"",
|
||||||
"Wir werden den Branch `bugFix` in `master` integrieren"
|
"Wir werden den Branch `bugFix` in `master` integrieren."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Wow! Hast du das gesehen? Zunächst mal zeigt `master` jetzt auf einen Commit mit zwei Vorgängern. Wenn du den beiden Pfeilen immer weiter folgst, kommst du an jedem Commit im Repository vorbei. Das heißt `master` enthält jetzt alles, was es im Repository gibt.",
|
"Wow! Hast du das gesehen? Zunächst mal zeigt `master` jetzt auf einen Commit mit zwei Vorgängern. Wenn du den beiden Pfeilen immer weiter folgst, kommst du an jedem Commit im Repository vorbei. Das heißt `master` enthält jetzt alles, was es im Repository gibt.",
|
||||||
|
@ -268,7 +268,7 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Acá tenemos dos ramas, y cada una tiene un commit que le es único. Esto significa que ninguna de las ramas incluye \"todo el trabajo\" que hay en nuestro repositorio. Hagamos un merge para solucionar eso.",
|
"Acá tenemos dos ramas, y cada una tiene un commit que le es único. Esto significa que ninguna de las ramas incluye \"todo el trabajo\" que hay en nuestro repositorio. Hagamos un merge para solucionar eso.",
|
||||||
"",
|
"",
|
||||||
"Vamos a `merge`ar la rama `bugFix` a `master`"
|
"Vamos a `merge`ar la rama `bugFix` a `master`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Wooow! ¿Viste eso? Primero que nada, `master` ahora apunta a un commit que tiene dos padres. Si seguís las flechas por el árbol de commits empezando desde `master` vas a cruzarte con cada commit del repositorio hasta llegar a la raíz. Esto significa que `master` ahora contiene todo el trabajo que hay en el repositorio.",
|
"¡Wooow! ¿Viste eso? Primero que nada, `master` ahora apunta a un commit que tiene dos padres. Si seguís las flechas por el árbol de commits empezando desde `master` vas a cruzarte con cada commit del repositorio hasta llegar a la raíz. Esto significa que `master` ahora contiene todo el trabajo que hay en el repositorio.",
|
||||||
|
@ -337,7 +337,7 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Aquí tenemos dos ramas, y cada una tiene un commit que le es único. Esto significa que ninguna de las ramas incluye \"todo el trabajo\" que hay en nuestro repositorio. Hagamos un merge para solucionar eso.",
|
"Aquí tenemos dos ramas, y cada una tiene un commit que le es único. Esto significa que ninguna de las ramas incluye \"todo el trabajo\" que hay en nuestro repositorio. Hagamos un merge para solucionar eso.",
|
||||||
"",
|
"",
|
||||||
"Vamos a `merge`ar la rama `bugFix` a `master`"
|
"Vamos a `merge`ar la rama `bugFix` a `master`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Caramba! ¿Viste eso? Antes de nada, `master` ahora apunta a un commit que tiene dos padres. Si sigues las flechas por el árbol de commits empezando desde `master` vas a cruzarte con cada commit del repositorio hasta llegar a la raíz. Esto significa que `master` ahora contiene todo el trabajo que hay en el repositorio.",
|
"¡Caramba! ¿Viste eso? Antes de nada, `master` ahora apunta a un commit que tiene dos padres. Si sigues las flechas por el árbol de commits empezando desde `master` vas a cruzarte con cada commit del repositorio hasta llegar a la raíz. Esto significa que `master` ahora contiene todo el trabajo que hay en el repositorio.",
|
||||||
|
@ -396,7 +396,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"O primeiro método para combinar trabalho que vamos examinar é o `git merge`. O merge do Git cria um commit especial que possui dois pais únicos. Um commit com dois pais essencialmente significa \"Quero incluir todo o trabalho deste pai aqui com o daquele outro pai ali, *e* com o do conjunto de todos os seus ancestrais.\"",
|
"O primeiro método para combinar trabalho que vamos examinar é o `git merge`. O merge do Git cria um commit especial que possui dois pais únicos. Um commit com dois pais essencialmente significa \"Quero incluir todo o trabalho deste pai aqui com o daquele outro pai ali, *e* com o do conjunto de todos os seus ancestrais.\"",
|
||||||
"",
|
"",
|
||||||
"É mais fácil com uma visualização, vamos ver logo a seguir"
|
"É mais fácil com uma visualização, vamos ver logo a seguir."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -406,7 +406,7 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Aqui nós temos dois ramos; cada um tem um commit que é único. Isso significa que nenhum ramo inclui o conjunto do \"trabalho\" que foi realizado no repositório. Vamos consertar isso com um merge.",
|
"Aqui nós temos dois ramos; cada um tem um commit que é único. Isso significa que nenhum ramo inclui o conjunto do \"trabalho\" que foi realizado no repositório. Vamos consertar isso com um merge.",
|
||||||
"",
|
"",
|
||||||
"Vamos juntar o ramo `bugFix` no `master`"
|
"Vamos juntar o ramo `bugFix` no `master`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Uau! Viu isso? Antes de tudo, o `master` agora aponta para um commit que possui dois pais. Se você seguir as setas subindo a árvore de commits a partir do `master`, você será capaz de encontrar, ao longo do caminho até a raiz, qualquer um dos commits. Isso significa que o `master` contém todo o trabalho realizado no repositório até o momento.",
|
"Uau! Viu isso? Antes de tudo, o `master` agora aponta para um commit que possui dois pais. Se você seguir as setas subindo a árvore de commits a partir do `master`, você será capaz de encontrar, ao longo do caminho até a raiz, qualquer um dos commits. Isso significa que o `master` contém todo o trabalho realizado no repositório até o momento.",
|
||||||
|
@ -475,7 +475,7 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Aquí nos temos dúas ramas; cada unha ten un commit que é único. Isto significa que ningunha rama inclúe o conxunto de \"traballo\" feito no noso repositorio. Imos arranxar esto cun merge.",
|
"Aquí nos temos dúas ramas; cada unha ten un commit que é único. Isto significa que ningunha rama inclúe o conxunto de \"traballo\" feito no noso repositorio. Imos arranxar esto cun merge.",
|
||||||
"",
|
"",
|
||||||
"Imos xuntar a rama `bugFix` na `master`"
|
"Imos xuntar a rama `bugFix` na `master`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Uah! ¿Viches? Antes de todo, `master` agora apunta a un commit que ten dous pais. Se ti sigues as frechas subindo a árbore de commits a partir de `master`, serás capaz de ver tódolos commits ata a raíz, calquera de eles. Isto significa que a rama `master` contén todo o traballo realizado no repositorio ata ese momento.",
|
"¡Uah! ¿Viches? Antes de todo, `master` agora apunta a un commit que ten dous pais. Se ti sigues as frechas subindo a árbore de commits a partir de `master`, serás capaz de ver tódolos commits ata a raíz, calquera de eles. Isto significa que a rama `master` contén todo o traballo realizado no repositorio ata ese momento.",
|
||||||
|
@ -534,7 +534,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"La première méthode que nous allons voir pour combiner le contenu de deux branches est `git merge`. Faire un 'merge' avec Git crée un commit spécial qui a deux parents. Un commit avec deux parents indique en susbtance \"Je veux inclure le contenu de ce parent et le contenu de cet autre parent, *et* l'ensemble de leurs parents.\"",
|
"La première méthode que nous allons voir pour combiner le contenu de deux branches est `git merge`. Faire un 'merge' avec Git crée un commit spécial qui a deux parents. Un commit avec deux parents indique en susbtance \"Je veux inclure le contenu de ce parent et le contenu de cet autre parent, *et* l'ensemble de leurs parents.\"",
|
||||||
"",
|
"",
|
||||||
"C'est plus facile en visualisant, regardons dans la vue suivante"
|
"C'est plus facile en visualisant, regardons dans la vue suivante."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -544,7 +544,7 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Ici nous avons deux branches ; chacune a un commit qui lui est propre. Cela signifie qu'aucune des deux branches n'inclut la totalité du \"travail\" qui a été fait dans le dépôt. Arrangeons-cela avec merge.",
|
"Ici nous avons deux branches ; chacune a un commit qui lui est propre. Cela signifie qu'aucune des deux branches n'inclut la totalité du \"travail\" qui a été fait dans le dépôt. Arrangeons-cela avec merge.",
|
||||||
"",
|
"",
|
||||||
"Nous allons `merge` («fusionner») la branche `bugFix` dans `master`"
|
"Nous allons `merge` («fusionner») la branche `bugFix` dans `master`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Youhou ! Vous avez vu ça ? Avant tout, `master` pointe donc maintenant sur un commit qui a deux parents. Si vous remontez l'enchaînement des flèches depuis `master`, vous allez passez par tous les commits jusqu'à la racine. Cela signifie que `master` contient maintenant tout le travail du dépôt.",
|
"Youhou ! Vous avez vu ça ? Avant tout, `master` pointe donc maintenant sur un commit qui a deux parents. Si vous remontez l'enchaînement des flèches depuis `master`, vous allez passez par tous les commits jusqu'à la racine. Cela signifie que `master` contient maintenant tout le travail du dépôt.",
|
||||||
|
@ -820,7 +820,7 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Вот у нас две ветки, каждая содержит по одному уникальному коммиту. Это означает, что ни одна из веток не содержит полный набор \"работ\", выполненных в этом репозитории. Можно исправить эту ситуацию, выполнив слияние.",
|
"Вот у нас две ветки, каждая содержит по одному уникальному коммиту. Это означает, что ни одна из веток не содержит полный набор \"работ\", выполненных в этом репозитории. Можно исправить эту ситуацию, выполнив слияние.",
|
||||||
"",
|
"",
|
||||||
"Мы сделаем `merge` ветки `bugFix` в ветку `master`"
|
"Мы сделаем `merge` ветки `bugFix` в ветку `master`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Что мы видим? Во-первых, ветка `master` теперь указывает на коммит, у которого два родителя. Если проследовать по стрелкам от этого коммита, вы пройдёте через каждый коммит в дереве прямиком к началу. Это означает, что теперь в ветке `master` содержатся все изменения репозитория.",
|
"Что мы видим? Во-первых, ветка `master` теперь указывает на коммит, у которого два родителя. Если проследовать по стрелкам от этого коммита, вы пройдёте через каждый коммит в дереве прямиком к началу. Это означает, что теперь в ветке `master` содержатся все изменения репозитория.",
|
||||||
|
@ -837,7 +837,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Смерджим ветку `master` в ветку `bugFix`"
|
"Смерджим ветку `master` в ветку `bugFix`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Так как ветка `bugFix` была предшественницей `master`, Git не делал ничего, только сдвинул `bugFix` на тот же коммит, где находится `master`",
|
"Так как ветка `bugFix` была предшественницей `master`, Git не делал ничего, только сдвинул `bugFix` на тот же коммит, где находится `master`",
|
||||||
|
@ -889,7 +889,7 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Тут ми маємо дві гілки; кожна з них містить унікальний коміт. Це означає що жодна з них не містить повного набору \"робочої інфи\" в цьому репозиторії. Давайте зіллємо всю інфу докупи за допомогою merge.",
|
"Тут ми маємо дві гілки; кожна з них містить унікальний коміт. Це означає що жодна з них не містить повного набору \"робочої інфи\" в цьому репозиторії. Давайте зіллємо всю інфу докупи за допомогою merge.",
|
||||||
"",
|
"",
|
||||||
"Ми `змержимо` гілку `bugFix` в `master`"
|
"Ми `змержимо` гілку `bugFix` в `master`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Нічого собі! Ви це бачили? По-перше, `master` тепер вказує на коміт з двома батьками. Якщо ти піднімешся вверх з цього коміту по дереву, починаючи з `master`, на шляху ти зустрінеш кожен коміт аж до кореневого. Це означає що гілка `master` тепер містить всю інфу в цьому репозиторії.",
|
"Нічого собі! Ви це бачили? По-перше, `master` тепер вказує на коміт з двома батьками. Якщо ти піднімешся вверх з цього коміту по дереву, починаючи з `master`, на шляху ти зустрінеш кожен коміт аж до кореневого. Це означає що гілка `master` тепер містить всю інфу в цьому репозиторії.",
|
||||||
|
@ -958,7 +958,7 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Ở đây ta có 2 nhánh; mỗi nhánh có 1 commit độc nhất. Có nghĩa là chẳng nhánh nào có đủ \"thành quả\" trong kho chứa của ta cả. Sửa nó bằng merge nào.",
|
"Ở đây ta có 2 nhánh; mỗi nhánh có 1 commit độc nhất. Có nghĩa là chẳng nhánh nào có đủ \"thành quả\" trong kho chứa của ta cả. Sửa nó bằng merge nào.",
|
||||||
"",
|
"",
|
||||||
"Ta sẽ `merge` nhánh `bugFix` vào `master`"
|
"Ta sẽ `merge` nhánh `bugFix` vào `master`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Wao! Thấy chứ? Trước tiên, `master` giờ đã trỏ đến commit có 2 cha. Nếu bạn lần theo mũi tên lên trên từ `master`, bạn sẽ gặp tất cả các commit lên đến commit gốc. Có nghĩa là `master` giờ đã chứa tất cả thành quả trong kho.",
|
"Wao! Thấy chứ? Trước tiên, `master` giờ đã trỏ đến commit có 2 cha. Nếu bạn lần theo mũi tên lên trên từ `master`, bạn sẽ gặp tất cả các commit lên đến commit gốc. Có nghĩa là `master` giờ đã chứa tất cả thành quả trong kho.",
|
||||||
|
@ -1027,7 +1027,7 @@ exports.level = {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Tu imamo dva brancha; vsak ima en commit, ki je unikaten. To pomeni, da noben branch v repozitorju nima vsega \"dela\". Pa popravimo to z mergeom.",
|
"Tu imamo dva brancha; vsak ima en commit, ki je unikaten. To pomeni, da noben branch v repozitorju nima vsega \"dela\". Pa popravimo to z mergeom.",
|
||||||
"",
|
"",
|
||||||
"Sedaj bomo `mergeali` branch `bugFix` v `master`"
|
"Sedaj bomo `mergeali` branch `bugFix` v `master`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Woah! Si videl to? `master` sedaj kaže na commit, ki ima dva starša. Če slediš puščicam po drevesu commitov iz `master`, boš našel vsak commit po poti do roota. To pomeni, da `master` sedaj vsebuje vso delo iz repozitorija.",
|
"Woah! Si videl to? `master` sedaj kaže na commit, ki ima dva starša. Če slediš puščicam po drevesu commitov iz `master`, boš našel vsak commit po poti do roota. To pomeni, da `master` sedaj vsebuje vso delo iz repozitorija.",
|
||||||
|
|
|
@ -63,7 +63,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"We would like to move our work from bugFix directly onto the work from master. That way it would look like these two features were developed sequentially, when in reality they were developed in parallel.",
|
"We would like to move our work from bugFix directly onto the work from master. That way it would look like these two features were developed sequentially, when in reality they were developed in parallel.",
|
||||||
"",
|
"",
|
||||||
"Let's do that with the `git rebase` command"
|
"Let's do that with the `git rebase` command."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Awesome! Now the work from our bugFix branch is right on top of master and we have a nice linear sequence of commits.",
|
"Awesome! Now the work from our bugFix branch is right on top of master and we have a nice linear sequence of commits.",
|
||||||
|
@ -264,7 +264,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Nos gustaría mover nuestro trabajo de bugFix directamente sobre el trabajo de master. De ese modo, parecería que esas dos tareas se desarrollaron secuencialmente, cuando en realidad se hicieron en paralelo.",
|
"Nos gustaría mover nuestro trabajo de bugFix directamente sobre el trabajo de master. De ese modo, parecería que esas dos tareas se desarrollaron secuencialmente, cuando en realidad se hicieron en paralelo.",
|
||||||
"",
|
"",
|
||||||
"Hagámoslo usando el comando `git rebase`"
|
"Hagámoslo usando el comando `git rebase`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Genial! Ahora el trabajo de nuestra rama bugFix está justo encima del de master, y tenemos una secuencia lineal de commits.",
|
"¡Genial! Ahora el trabajo de nuestra rama bugFix está justo encima del de master, y tenemos una secuencia lineal de commits.",
|
||||||
|
@ -331,7 +331,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Nos gustaría mover nuestro trabajo de bugFix directamente sobre el trabajo de master. De ese modo, parecería que esas dos tareas se desarrollaron secuencialmente, cuando en realidad se hicieron en paralelo.",
|
"Nos gustaría mover nuestro trabajo de bugFix directamente sobre el trabajo de master. De ese modo, parecería que esas dos tareas se desarrollaron secuencialmente, cuando en realidad se hicieron en paralelo.",
|
||||||
"",
|
"",
|
||||||
"Hagámoslo usando el comando `git rebase`"
|
"Hagámoslo usando el comando `git rebase`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Genial! Ahora el trabajo de nuestra rama bugFix está justo encima del de master, y tenemos una secuencia lineal de commits.",
|
"¡Genial! Ahora el trabajo de nuestra rama bugFix está justo encima del de master, y tenemos una secuencia lineal de commits.",
|
||||||
|
@ -398,7 +398,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Queremos mover nosso trabalho do bugFix diretamente dentro do master. Desta forma, vai parecer que esses dois recursos foram desenvolvidos sequencialmente, quando na realidade foram feitos em paralelo.",
|
"Queremos mover nosso trabalho do bugFix diretamente dentro do master. Desta forma, vai parecer que esses dois recursos foram desenvolvidos sequencialmente, quando na realidade foram feitos em paralelo.",
|
||||||
"",
|
"",
|
||||||
"Vamos fazê-lo com o comando `git rebase`"
|
"Vamos fazê-lo com o comando `git rebase`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Incrível! Agora o trabalho do nosso ramo bugFix está logo após o do master, e temos uma linda sequência linear de commits.",
|
"Incrível! Agora o trabalho do nosso ramo bugFix está logo após o do master, e temos uma linda sequência linear de commits.",
|
||||||
|
@ -465,7 +465,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Queremos mover o noso traballo do `bugFix` directamente dentro da rama `master`. Desta forma, vai parecer que eses dous recursos foron editados secuencialmente, cando a realidade é que se fixeron en paralelo.",
|
"Queremos mover o noso traballo do `bugFix` directamente dentro da rama `master`. Desta forma, vai parecer que eses dous recursos foron editados secuencialmente, cando a realidade é que se fixeron en paralelo.",
|
||||||
"",
|
"",
|
||||||
"Imos lanzar o comando `git rebase`"
|
"Imos lanzar o comando `git rebase`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Buah chorvo! Agora o traballo da nosa rama `bugFix` está seguida de master, e temos unha fermosa línea de commits.",
|
"¡Buah chorvo! Agora o traballo da nosa rama `bugFix` está seguida de master, e temos unha fermosa línea de commits.",
|
||||||
|
@ -532,7 +532,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Nous voudrions transférer notre travail de la branche 'bugFix' directement sur le travail existant dans 'master'. Ainsi on aurait l'impression que ces deux travaux ont été développés séquentiellement alors qu'en réalité ils ont été réalisés en parallèle.",
|
"Nous voudrions transférer notre travail de la branche 'bugFix' directement sur le travail existant dans 'master'. Ainsi on aurait l'impression que ces deux travaux ont été développés séquentiellement alors qu'en réalité ils ont été réalisés en parallèle.",
|
||||||
"",
|
"",
|
||||||
"Faisons cela avec la commande `git rebase`"
|
"Faisons cela avec la commande `git rebase`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Super! Désormais, le travail de la branche 'bugFix' est juste en haut de la branche 'master' et nous avons une belle séquence linéaire de commits.",
|
"Super! Désormais, le travail de la branche 'bugFix' est juste en haut de la branche 'master' et nous avons une belle séquence linéaire de commits.",
|
||||||
|
@ -803,7 +803,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Хочется сдвинуть наши изменения из `bugFix` прямо на вершину ветки `master`. Благодаря этому всё будет выглядеть, как будто эти изменения делались последовательно, хотя на самом деле - параллельно.",
|
"Хочется сдвинуть наши изменения из `bugFix` прямо на вершину ветки `master`. Благодаря этому всё будет выглядеть, как будто эти изменения делались последовательно, хотя на самом деле - параллельно.",
|
||||||
"",
|
"",
|
||||||
"Применим `git rebase`"
|
"Применим `git rebase`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Супер! Теперь изменения из `bugFix` находятся в конце ветки `master` и являют собой линейную последовательность коммитов.",
|
"Супер! Теперь изменения из `bugFix` находятся в конце ветки `master` и являют собой линейную последовательность коммитов.",
|
||||||
|
@ -820,7 +820,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Вот мы выбрали ветку `master`. Вперёд - сделаем rebase на `bugFix`"
|
"Вот мы выбрали ветку `master`. Вперёд - сделаем rebase на `bugFix`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Вуаля! Так как `master` был предком `bugFix`, git просто сдвинул ссылку на `master` вперёд."
|
"Вуаля! Так как `master` был предком `bugFix`, git просто сдвинул ссылку на `master` вперёд."
|
||||||
|
@ -870,7 +870,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Ми хочемо перемістити наші зміни з гілки bugFix прямо до змін з гілки master. Тоді це буде виглядати наче ці зміни були додані одна за одною, хоча насправді вони були додані одночасно.",
|
"Ми хочемо перемістити наші зміни з гілки bugFix прямо до змін з гілки master. Тоді це буде виглядати наче ці зміни були додані одна за одною, хоча насправді вони були додані одночасно.",
|
||||||
"",
|
"",
|
||||||
"Давайте зробимо це за допомогою команди `git rebase`"
|
"Давайте зробимо це за допомогою команди `git rebase`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Добре! Тепер зміни з гілки bugFix знаходяться прямо попереду змін з master й ми отримали зручну лінійну послідовність комітів.",
|
"Добре! Тепер зміни з гілки bugFix знаходяться прямо попереду змін з master й ми отримали зручну лінійну послідовність комітів.",
|
||||||
|
@ -1003,7 +1003,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Radi bi prestavili naše delo iz bugFix direktno na delo iz masterja. Tako bi izgledalo, kot da sta bili ti dve funkcionalnosti razviti zaporedno, v resnici pa sta bili razviti vzporedno.",
|
"Radi bi prestavili naše delo iz bugFix direktno na delo iz masterja. Tako bi izgledalo, kot da sta bili ti dve funkcionalnosti razviti zaporedno, v resnici pa sta bili razviti vzporedno.",
|
||||||
"",
|
"",
|
||||||
"Naredimo sedaj to z `git rebase` ukazom"
|
"Naredimo sedaj to z `git rebase` ukazom."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Super! Sedaj je naše delo iz bugFix brancha na vrhu masterja in imamo lepo zaporedje commitov.",
|
"Super! Sedaj je naše delo iz bugFix brancha na vrhu masterja in imamo lepo zaporedje commitov.",
|
||||||
|
|
|
@ -510,7 +510,7 @@ exports.level = {
|
||||||
"type": "ModalAlert",
|
"type": "ModalAlert",
|
||||||
"options": {
|
"options": {
|
||||||
"markdowns": [
|
"markdowns": [
|
||||||
"В этом уровне тебе решать, какую команду использовать, но чтобы закончить уровень, убедись, что в мастер попал коммит, на который ссылается `bugFix`"
|
"В этом уровне тебе решать, какую команду использовать, но чтобы закончить уровень, убедись, что в мастер попал коммит, на который ссылается `bugFix`."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,7 +80,7 @@ exports.level = {
|
||||||
"There are many ways to accomplish this overall goal (I see you eye-ing cherry-pick), and we will see more of them later, but for now let's focus on this technique.",
|
"There are many ways to accomplish this overall goal (I see you eye-ing cherry-pick), and we will see more of them later, but for now let's focus on this technique.",
|
||||||
"Lastly, pay attention to the goal state here -- since we move the commits twice, they both get an apostrophe appended. One more apostrophe is added for the commit we amend, which gives us the final form of the tree ",
|
"Lastly, pay attention to the goal state here -- since we move the commits twice, they both get an apostrophe appended. One more apostrophe is added for the commit we amend, which gives us the final form of the tree ",
|
||||||
"",
|
"",
|
||||||
"That being said, I can compare levels now based on structure and relative apostrophe differences. As long as your tree's `master` branch has the same structure and relative apostrophe differences, I'll give full credit"
|
"That being said, I can compare levels now based on structure and relative apostrophe differences. As long as your tree's `master` branch has the same structure and relative apostrophe differences, I'll give full credit."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -150,7 +150,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Por último, prestá atención al estado final acá -- como movemos los commits dos veces, ambos quedan con un apóstrofe. El commit que corregimos tiene un apóstrofe extra, y así nos queda nuestro árbol final",
|
"Por último, prestá atención al estado final acá -- como movemos los commits dos veces, ambos quedan con un apóstrofe. El commit que corregimos tiene un apóstrofe extra, y así nos queda nuestro árbol final",
|
||||||
"",
|
"",
|
||||||
"Habiendo dicho eso, puedo comparar los niveles basándome ahora en la estructura y las diferencias relativas de apóstrofes. Mientras que tu rama `master` tenga la misma estructura y diferencias relativas de apóstrofes, te voy a dar el puntaje completo"
|
"Habiendo dicho eso, puedo comparar los niveles basándome ahora en la estructura y las diferencias relativas de apóstrofes. Mientras que tu rama `master` tenga la misma estructura y diferencias relativas de apóstrofes, te voy a dar el puntaje completo."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -185,7 +185,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Por último, presta atención al estado final -- como movemos los commits dos veces, ambos quedan con un apóstrofe. El commit que corregimos tiene un apóstrofe extra, y así nos queda nuestro árbol final",
|
"Por último, presta atención al estado final -- como movemos los commits dos veces, ambos quedan con un apóstrofe. El commit que corregimos tiene un apóstrofe extra, y así nos queda nuestro árbol final",
|
||||||
"",
|
"",
|
||||||
"Habiendo dicho eso, puedo comparar los niveles basándome ahora en la estructura y las diferencias relativas de apóstrofes. Mientras que tu rama `master` tenga la misma estructura y diferencias relativas de apóstrofes, te voy a dar el puntaje completo"
|
"Habiendo dicho eso, puedo comparar los niveles basándome ahora en la estructura y las diferencias relativas de apóstrofes. Mientras que tu rama `master` tenga la misma estructura y diferencias relativas de apóstrofes, te voy a dar el puntaje completo."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -220,7 +220,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Por último, preste atenção no estado do \"objetivo\" aqui -- como nós movemos os commits duas vezes, ambos ficam com um apóstrofo. Um apóstrofo adicional é colocado no commit que sofreu o \"amend\", o que nos dá a forma final da árvore ",
|
"Por último, preste atenção no estado do \"objetivo\" aqui -- como nós movemos os commits duas vezes, ambos ficam com um apóstrofo. Um apóstrofo adicional é colocado no commit que sofreu o \"amend\", o que nos dá a forma final da árvore ",
|
||||||
"",
|
"",
|
||||||
"Tendo dito isto, posso avaliar a resposta baseado na estrutura e nas diferenças relativas de número de apóstrofos. Desde que o ramo `master` da sua árvore tenha a mesma estrutura, e o número de apóstrofos seja igual a menos de uma constante, darei a você todos os pontos para esta tarefa"
|
"Tendo dito isto, posso avaliar a resposta baseado na estrutura e nas diferenças relativas de número de apóstrofos. Desde que o ramo `master` da sua árvore tenha a mesma estrutura, e o número de apóstrofos seja igual a menos de uma constante, darei a você todos os pontos para esta tarefa."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -63,7 +63,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"As you saw in the last level, we used `rebase -i` to reorder the commits. Once the commit we wanted to change was on top, we could easily --amend it and re-order back to our preferred order.",
|
"As you saw in the last level, we used `rebase -i` to reorder the commits. Once the commit we wanted to change was on top, we could easily --amend it and re-order back to our preferred order.",
|
||||||
"",
|
"",
|
||||||
"The only issue here is that there is a lot of reordering going on, which can introduce rebase conflicts. Let's look at another method with `git cherry-pick`"
|
"The only issue here is that there is a lot of reordering going on, which can introduce rebase conflicts. Let's look at another method with `git cherry-pick`."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -76,7 +76,7 @@ exports.level = {
|
||||||
"Here's a small refresher demo:"
|
"Here's a small refresher demo:"
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Nice! Let's move on"
|
"Nice! Let's move on."
|
||||||
],
|
],
|
||||||
"command": "git cherry-pick C2",
|
"command": "git cherry-pick C2",
|
||||||
"beforeCommand": "git checkout -b bugFix; git commit; git checkout master; git commit"
|
"beforeCommand": "git checkout -b bugFix; git commit; git checkout master; git commit"
|
||||||
|
@ -88,7 +88,7 @@ exports.level = {
|
||||||
"markdowns": [
|
"markdowns": [
|
||||||
"So in this level, let's accomplish the same objective of amending `C2` once but avoid using `rebase -i`. I'll leave it up to you to figure it out! :D",
|
"So in this level, let's accomplish the same objective of amending `C2` once but avoid using `rebase -i`. I'll leave it up to you to figure it out! :D",
|
||||||
"",
|
"",
|
||||||
"Remember, the exact number of apostrophe's (') on the commit are not important, only the relative differences. For example, I will give credit to a tree that matches the goal tree but has one extra apostrophe everywhere"
|
"Remember, the exact number of apostrophe's (') on the commit are not important, only the relative differences. For example, I will give credit to a tree that matches the goal tree but has one extra apostrophe everywhere."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -106,7 +106,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Comme vu dans le niveau précédent, nous utilisons `rebase -i` pour réordonner les commits. Une fois que le commit à modifier est celui à la tête, nous pouvons facilement faire un --amend et réordonner dans l'ordre voulu.",
|
"Comme vu dans le niveau précédent, nous utilisons `rebase -i` pour réordonner les commits. Une fois que le commit à modifier est celui à la tête, nous pouvons facilement faire un --amend et réordonner dans l'ordre voulu.",
|
||||||
"",
|
"",
|
||||||
"La difficulté ici est qu'il y a beaucoup de changements, ce qui peut introduire des conflits de rebase. Essayons avec l'autre méthode `git cherry-pick`"
|
"La difficulté ici est qu'il y a beaucoup de changements, ce qui peut introduire des conflits de rebase. Essayons avec l'autre méthode `git cherry-pick`."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -149,7 +149,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Como viste en el último nivel, usamos `rebase -i` para reordenar los commits. Una vez que el commit que queríamos cambiar estaba arriba de todo, pudimos `--amend`earlo fácilmente y reordenarlo a como queríamos.",
|
"Como viste en el último nivel, usamos `rebase -i` para reordenar los commits. Una vez que el commit que queríamos cambiar estaba arriba de todo, pudimos `--amend`earlo fácilmente y reordenarlo a como queríamos.",
|
||||||
"",
|
"",
|
||||||
"El único problema con esto es que hay mucho reordenamiento, que puede generar conflictos al rebasear. Veamos otro método usando `git cherry-pick`"
|
"El único problema con esto es que hay mucho reordenamiento, que puede generar conflictos al rebasear. Veamos otro método usando `git cherry-pick`."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -174,7 +174,7 @@ exports.level = {
|
||||||
"markdowns": [
|
"markdowns": [
|
||||||
"Entonces, en este nivel vamos a lograr el mismo objetivo de corregir `C2`, pero sin usar `rebase -i`. Te dejo a vos el darte cuenta cómo :D",
|
"Entonces, en este nivel vamos a lograr el mismo objetivo de corregir `C2`, pero sin usar `rebase -i`. Te dejo a vos el darte cuenta cómo :D",
|
||||||
"",
|
"",
|
||||||
"Acordate, la cantidad exacta de apóstrofes (') en el commit no es importante, sólo la diferencia relativa. Por ejemplo, le voy a dar puntaje a un árbol que matchee el objetivo pero cuyos commits tengan todos un apóstrofe extra"
|
"Acordate, la cantidad exacta de apóstrofes (') en el commit no es importante, sólo la diferencia relativa. Por ejemplo, le voy a dar puntaje a un árbol que matchee el objetivo pero cuyos commits tengan todos un apóstrofe extra."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -192,7 +192,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Como viste en el último nivel, usamos `rebase -i` para reordenar los commits. Una vez que el commit que queríamos cambiar se encontraba arriba de todo, pudimos `--amend`earlo fácilmente y reordenarlo a como queríamos.",
|
"Como viste en el último nivel, usamos `rebase -i` para reordenar los commits. Una vez que el commit que queríamos cambiar se encontraba arriba de todo, pudimos `--amend`earlo fácilmente y reordenarlo a como queríamos.",
|
||||||
"",
|
"",
|
||||||
"El único problema con esto es que hay mucho reordenamiento, que puede generar conflictos al rebasear. Veamos otro método usando `git cherry-pick`"
|
"El único problema con esto es que hay mucho reordenamiento, que puede generar conflictos al rebasear. Veamos otro método usando `git cherry-pick`."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -217,7 +217,7 @@ exports.level = {
|
||||||
"markdowns": [
|
"markdowns": [
|
||||||
"Entonces, en este nivel vamos a lograr el mismo objetivo de corregir `C2`, pero sin usar `rebase -i`. Te dejo a ti el darte cuenta cómo :D",
|
"Entonces, en este nivel vamos a lograr el mismo objetivo de corregir `C2`, pero sin usar `rebase -i`. Te dejo a ti el darte cuenta cómo :D",
|
||||||
"",
|
"",
|
||||||
"Recuerda, la cantidad exacta de apóstrofes (') en el commit no es importante, sólo la diferencia relativa. Por ejemplo, le voy a dar una puntuación a un árbol que coincida con el objetivo pero cuyos commits tengan todos un apóstrofe extra"
|
"Recuerda, la cantidad exacta de apóstrofes (') en el commit no es importante, sólo la diferencia relativa. Por ejemplo, le voy a dar una puntuación a un árbol que coincida con el objetivo pero cuyos commits tengan todos un apóstrofe extra."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -235,7 +235,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Como você viu no nível anterior, usamos `rebase -i` para reordenar os commits. Uma vez que o commit que queríamos mudar estava no topo, pudemos facilmente usar o `--amend` e depois reordená-lo de volta para obter nossa ordem preferida.",
|
"Como você viu no nível anterior, usamos `rebase -i` para reordenar os commits. Uma vez que o commit que queríamos mudar estava no topo, pudemos facilmente usar o `--amend` e depois reordená-lo de volta para obter nossa ordem preferida.",
|
||||||
"",
|
"",
|
||||||
"O único problema aqui é que há muita reordenação ocorrendo, o que pode introduzir conflitos de rebase. Vamos dar uma olhada em outro método, usando o `git cherry-pick`"
|
"O único problema aqui é que há muita reordenação ocorrendo, o que pode introduzir conflitos de rebase. Vamos dar uma olhada em outro método, usando o `git cherry-pick`."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -248,7 +248,7 @@ exports.level = {
|
||||||
"Aqui está uma demonstração para refrescar sua memória:"
|
"Aqui está uma demonstração para refrescar sua memória:"
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Ótimo! Vamos em frente"
|
"Ótimo! Vamos em frente."
|
||||||
],
|
],
|
||||||
"command": "git cherry-pick C2",
|
"command": "git cherry-pick C2",
|
||||||
"beforeCommand": "git checkout -b bugFix; git commit; git checkout master; git commit"
|
"beforeCommand": "git checkout -b bugFix; git commit; git checkout master; git commit"
|
||||||
|
@ -260,7 +260,7 @@ exports.level = {
|
||||||
"markdowns": [
|
"markdowns": [
|
||||||
"Então, neste nível, vamos alcançar o mesmo objetivo de fazer \"amend\" no `C2`, mas evitaremos usar o `rebase -i`. Agora vou deixar com você a tarefa de descobrir como fazer! :D",
|
"Então, neste nível, vamos alcançar o mesmo objetivo de fazer \"amend\" no `C2`, mas evitaremos usar o `rebase -i`. Agora vou deixar com você a tarefa de descobrir como fazer! :D",
|
||||||
"",
|
"",
|
||||||
"Lembre-se, o número exato de apóstrofos (') nos commits não é importante, apenas as diferenças relativas. Por exemplo, darei todos os pontos nesta tarefa se você obtiver o mesmo resultado da árvore da visualização de objetivo com um apóstrofo extra em todos os commits"
|
"Lembre-se, o número exato de apóstrofos (') nos commits não é importante, apenas as diferenças relativas. Por exemplo, darei todos os pontos nesta tarefa se você obtiver o mesmo resultado da árvore da visualização de objetivo com um apóstrofo extra em todos os commits."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -278,7 +278,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Como puideches ver no anterior tema, usamos `rebase -i` para reordear os commits. Unha vez que atopamos o commit que queriamos modificar, puidemos empregar sinxelamente o `--amend`, e depois reordenalo de volta para obter a nosa orde preferida.",
|
"Como puideches ver no anterior tema, usamos `rebase -i` para reordear os commits. Unha vez que atopamos o commit que queriamos modificar, puidemos empregar sinxelamente o `--amend`, e depois reordenalo de volta para obter a nosa orde preferida.",
|
||||||
"",
|
"",
|
||||||
"O único problema aquí é que hai moita reordenación ocorrendo, o que pode introducir conflitos no rebase. Imos votar unha ollada a outro método, o uso de `git cherry-pick`"
|
"O único problema aquí é que hai moita reordenación ocorrendo, o que pode introducir conflitos no rebase. Imos votar unha ollada a outro método, o uso de `git cherry-pick`."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -573,7 +573,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Як ти бачив в попередньому рівні, ми використали `rebase -i` щоб впорядкувати набір комітів. Як тільки потрібний коміт опиняється вгорі, його досить легко змінити за допомогою --amend й потім відсортувати коміти в попередньому порядку.",
|
"Як ти бачив в попередньому рівні, ми використали `rebase -i` щоб впорядкувати набір комітів. Як тільки потрібний коміт опиняється вгорі, його досить легко змінити за допомогою --amend й потім відсортувати коміти в попередньому порядку.",
|
||||||
"",
|
"",
|
||||||
"Єдина проблема з таким підходом полягає в тому, що виконується досить багато перестановок комітів, що може призвести до конфліктів при виконанні rebase. Спробуймо інший підхід який використовує `git cherry-pick`"
|
"Єдина проблема з таким підходом полягає в тому, що виконується досить багато перестановок комітів, що може призвести до конфліктів при виконанні rebase. Спробуймо інший підхід який використовує `git cherry-pick`."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -68,10 +68,10 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Let's try making a tag at `C1` which is our version 1 prototype"
|
"Let's try making a tag at `C1` which is our version 1 prototype."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"There! Quite easy. We named the tag `v1` and referenced the commit `C1` explicitly. If you leave the commit off, git will just use whatever `HEAD` is at"
|
"There! Quite easy. We named the tag `v1` and referenced the commit `C1` explicitly. If you leave the commit off, git will just use whatever `HEAD` is at."
|
||||||
],
|
],
|
||||||
"command": "git tag v1 C1",
|
"command": "git tag v1 C1",
|
||||||
"beforeCommand": "git commit"
|
"beforeCommand": "git commit"
|
||||||
|
@ -120,7 +120,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Essayons de faire un tag sur C1 (qui représente la version 1 de notre prototype)"
|
"Essayons de faire un tag sur C1 (qui représente la version 1 de notre prototype)."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Voila, facile non ? Nous nommons le tag `v1` et il pointe vers le commit `C1`. Si vous ne spécifiez pas le commit, le tag pointera là où se trouve `HEAD`."
|
"Voila, facile non ? Nous nommons le tag `v1` et il pointe vers le commit `C1`. Si vous ne spécifiez pas le commit, le tag pointera là où se trouve `HEAD`."
|
||||||
|
@ -279,7 +279,7 @@ exports.level = {
|
||||||
"Creemos un tag en `C1`, que es nuestro prototipo de la versión 1"
|
"Creemos un tag en `C1`, que es nuestro prototipo de la versión 1"
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Ahí está! Bastante simple. Nombramos al tag `v1` y referenciamos explícitamente al commit `C1`. Si no especificás el commit, git va a usar al apuntado por `HEAD`"
|
"¡Ahí está! Bastante simple. Nombramos al tag `v1` y referenciamos explícitamente al commit `C1`. Si no especificás el commit, git va a usar al apuntado por `HEAD`."
|
||||||
],
|
],
|
||||||
"command": "git tag v1 C1",
|
"command": "git tag v1 C1",
|
||||||
"beforeCommand": "git commit"
|
"beforeCommand": "git commit"
|
||||||
|
@ -331,7 +331,7 @@ exports.level = {
|
||||||
"Creemos un tag en `C1`, que es nuestro prototipo de la versión 1"
|
"Creemos un tag en `C1`, que es nuestro prototipo de la versión 1"
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Ahí está! Bastante simple. Nombramos al tag `v1` y referenciamos explícitamente al commit `C1`. Si no especificas el commit, git va a usar al apuntado por `HEAD`"
|
"¡Ahí está! Bastante simple. Nombramos al tag `v1` y referenciamos explícitamente al commit `C1`. Si no especificas el commit, git va a usar al apuntado por `HEAD`."
|
||||||
],
|
],
|
||||||
"command": "git tag v1 C1",
|
"command": "git tag v1 C1",
|
||||||
"beforeCommand": "git commit"
|
"beforeCommand": "git commit"
|
||||||
|
@ -383,7 +383,7 @@ exports.level = {
|
||||||
"Criemos uma tag em `C1`, que é nosso protótipo da versão 1"
|
"Criemos uma tag em `C1`, que é nosso protótipo da versão 1"
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Aqui! Bem fácil. Nós chamamos a tag de `v1` e referenciamos o commit `C1` explicitamente. Se você chamar o comando sem especificar um commit, o git vai usar seja lá qual commit para o qual o `HEAD` estiver apontando"
|
"Aqui! Bem fácil. Nós chamamos a tag de `v1` e referenciamos o commit `C1` explicitamente. Se você chamar o comando sem especificar um commit, o git vai usar seja lá qual commit para o qual o `HEAD` estiver apontando."
|
||||||
],
|
],
|
||||||
"command": "git tag v1 C1",
|
"command": "git tag v1 C1",
|
||||||
"beforeCommand": "git commit"
|
"beforeCommand": "git commit"
|
||||||
|
@ -591,7 +591,7 @@ exports.level = {
|
||||||
"Создадим тег на `C1`, который будет нашей версией 1"
|
"Создадим тег на `C1`, который будет нашей версией 1"
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Готово! Всё просто. Мы назвали тег `v1` и заставили его ссылаться на `C1` явным образом. Если конкретный коммит не указан, гит пометит тегом `HEAD`"
|
"Готово! Всё просто. Мы назвали тег `v1` и заставили его ссылаться на `C1` явным образом. Если конкретный коммит не указан, гит пометит тегом `HEAD`."
|
||||||
],
|
],
|
||||||
"command": "git tag v1 C1",
|
"command": "git tag v1 C1",
|
||||||
"beforeCommand": "git commit"
|
"beforeCommand": "git commit"
|
||||||
|
@ -744,7 +744,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Hãy thử tạo một thẻ ở commit `C1` chỉ định rằng đây là phiên bản thứ nhất của ta"
|
"Hãy thử tạo một thẻ ở commit `C1` chỉ định rằng đây là phiên bản thứ nhất của ta."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Đó! Đơn giản như đan rổ. Ta tạo ra thẻ `v1` và tham chiếu đến commit `C1`. Nếu bạn không chỉ định commit, git sẽ gắn thẻ vào commit mà `HEAD` đang trỏ tới"
|
"Đó! Đơn giản như đan rổ. Ta tạo ra thẻ `v1` và tham chiếu đến commit `C1`. Nếu bạn không chỉ định commit, git sẽ gắn thẻ vào commit mà `HEAD` đang trỏ tới"
|
||||||
|
|
|
@ -90,7 +90,7 @@ exports.level = {
|
||||||
"When you hit the button, an interactive rebase window will appear. Reorder some commits around (or feel free to unpick some) and see the result!"
|
"When you hit the button, an interactive rebase window will appear. Reorder some commits around (or feel free to unpick some) and see the result!"
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Boom! Git copied down commits in the exact same way you specified through the UI"
|
"Boom! Git copied down commits in the exact same way you specified through the UI."
|
||||||
],
|
],
|
||||||
"command": "git rebase -i HEAD~4 --aboveAll",
|
"command": "git rebase -i HEAD~4 --aboveAll",
|
||||||
"beforeCommand": "git commit; git commit; git commit; git commit"
|
"beforeCommand": "git commit; git commit; git commit; git commit"
|
||||||
|
@ -350,7 +350,7 @@ exports.level = {
|
||||||
"Cuando apretes el botón, va a aparecer una ventana de rebase interactivo. Reordená los commits (sentite libre de ignorar alguno, también) ¡y mirá el resultado!"
|
"Cuando apretes el botón, va a aparecer una ventana de rebase interactivo. Reordená los commits (sentite libre de ignorar alguno, también) ¡y mirá el resultado!"
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Boom! Git copió los commits exactamente de la misma manera que lo especificaste en la UI"
|
"¡Boom! Git copió los commits exactamente de la misma manera que lo especificaste en la UI."
|
||||||
],
|
],
|
||||||
"command": "git rebase -i HEAD~4 --aboveAll",
|
"command": "git rebase -i HEAD~4 --aboveAll",
|
||||||
"beforeCommand": "git commit; git commit; git commit; git commit"
|
"beforeCommand": "git commit; git commit; git commit; git commit"
|
||||||
|
@ -415,7 +415,7 @@ exports.level = {
|
||||||
"Cuando aprietes el botón, va a aparecer una ventana de rebase interactivo. Reordena los commits (siéntete libre de ignorar alguno, también) ¡y observa el resultado!"
|
"Cuando aprietes el botón, va a aparecer una ventana de rebase interactivo. Reordena los commits (siéntete libre de ignorar alguno, también) ¡y observa el resultado!"
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Zas! Git copió los commits exactamente de la misma manera que lo especificaste en la UI"
|
"¡Zas! Git copió los commits exactamente de la misma manera que lo especificaste en la UI."
|
||||||
],
|
],
|
||||||
"command": "git rebase -i HEAD~4 --aboveAll",
|
"command": "git rebase -i HEAD~4 --aboveAll",
|
||||||
"beforeCommand": "git commit; git commit; git commit; git commit"
|
"beforeCommand": "git commit; git commit; git commit; git commit"
|
||||||
|
@ -480,7 +480,7 @@ exports.level = {
|
||||||
"Quando você clicar o botão, uma janela de rebase interativo se abrirá. Reordene alguns commits da forma como você preferir (ou sinta-se livre para desmarcar o `pick` de alguns) e veja o resultado!"
|
"Quando você clicar o botão, uma janela de rebase interativo se abrirá. Reordene alguns commits da forma como você preferir (ou sinta-se livre para desmarcar o `pick` de alguns) e veja o resultado!"
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Boom! O Git copiou alguns commits exatamente da mesma forma que você os especificou na janela"
|
"Boom! O Git copiou alguns commits exatamente da mesma forma que você os especificou na janela."
|
||||||
],
|
],
|
||||||
"command": "git rebase -i HEAD~4 --aboveAll",
|
"command": "git rebase -i HEAD~4 --aboveAll",
|
||||||
"beforeCommand": "git commit; git commit; git commit; git commit"
|
"beforeCommand": "git commit; git commit; git commit; git commit"
|
||||||
|
@ -545,7 +545,7 @@ exports.level = {
|
||||||
"Cando pinches o botón, unha ventá de rebase interativo abrirase. Reordena algúns commits da forma que ti prefieras (ou se o prefires desmarca o `pick` de algúns) e mira o seu resultado!"
|
"Cando pinches o botón, unha ventá de rebase interativo abrirase. Reordena algúns commits da forma que ti prefieras (ou se o prefires desmarca o `pick` de algúns) e mira o seu resultado!"
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Veña! Git copiou algúns commits exatamente da mesma forma que o indicaches na ventá"
|
"¡Veña! Git copiou algúns commits exatamente da mesma forma que o indicaches na ventá."
|
||||||
],
|
],
|
||||||
"command": "git rebase -i HEAD~4 --aboveAll",
|
"command": "git rebase -i HEAD~4 --aboveAll",
|
||||||
"beforeCommand": "git commit; git commit; git commit; git commit"
|
"beforeCommand": "git commit; git commit; git commit; git commit"
|
||||||
|
@ -870,7 +870,7 @@ exports.level = {
|
||||||
"Коли ти натиснеш кнопку, відкриється вікно інтерактивного rebase. Перестав якісь коміти (можеш пропустити якісь якщо хочеш), і подивись що вийде!"
|
"Коли ти натиснеш кнопку, відкриється вікно інтерактивного rebase. Перестав якісь коміти (можеш пропустити якісь якщо хочеш), і подивись що вийде!"
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Ка-бум! Git cкопіював коміти відповідно до того що було вказано в UI"
|
"Ка-бум! Git cкопіював коміти відповідно до того що було вказано в UI."
|
||||||
],
|
],
|
||||||
"command": "git rebase -i HEAD~4 --aboveAll",
|
"command": "git rebase -i HEAD~4 --aboveAll",
|
||||||
"beforeCommand": "git commit; git commit; git commit; git commit"
|
"beforeCommand": "git commit; git commit; git commit; git commit"
|
||||||
|
@ -935,7 +935,7 @@ exports.level = {
|
||||||
"Khi bạn bấm nút, một cửa sổ tương tác rebase sẽ xuất hiện. Sắp xếp lại một vài commit (hoặc thậm chí bỏ qua một vài cái) và xem thử kết quả!"
|
"Khi bạn bấm nút, một cửa sổ tương tác rebase sẽ xuất hiện. Sắp xếp lại một vài commit (hoặc thậm chí bỏ qua một vài cái) và xem thử kết quả!"
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"BÙÙM! Git sao chép chính xác các commit mà bạn chọn thông qua UI"
|
"BÙÙM! Git sao chép chính xác các commit mà bạn chọn thông qua UI."
|
||||||
],
|
],
|
||||||
"command": "git rebase -i HEAD~4 --aboveAll",
|
"command": "git rebase -i HEAD~4 --aboveAll",
|
||||||
"beforeCommand": "git commit; git commit; git commit; git commit"
|
"beforeCommand": "git commit; git commit; git commit; git commit"
|
||||||
|
|
|
@ -78,10 +78,10 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"`master^^` is the grandparent (second-generation ancestor) of `master`",
|
"`master^^` is the grandparent (second-generation ancestor) of `master`",
|
||||||
"",
|
"",
|
||||||
"Let's check out the commit above master here"
|
"Let's check out the commit above master here."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Boom! Done. Way easier than typing the commit hash"
|
"Boom! Done. Way easier than typing the commit hash."
|
||||||
],
|
],
|
||||||
"command": "git checkout master^",
|
"command": "git checkout master^",
|
||||||
"beforeCommand": "git commit"
|
"beforeCommand": "git commit"
|
||||||
|
@ -91,7 +91,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"You can also reference `HEAD` as a relative ref. Let's use that a couple of times to move upwards in the commit tree"
|
"You can also reference `HEAD` as a relative ref. Let's use that a couple of times to move upwards in the commit tree."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Easy! We can travel backwards in time with `HEAD^`"
|
"Easy! We can travel backwards in time with `HEAD^`"
|
||||||
|
@ -303,10 +303,10 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"`master^^` es el _abuelo_ (segunda generación de ancestros) de `master`",
|
"`master^^` es el _abuelo_ (segunda generación de ancestros) de `master`",
|
||||||
"",
|
"",
|
||||||
"Veamos el commit que está antes de master acá"
|
"Veamos el commit que está antes de master acá."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Boom! Ahí está. Mucho más simple que tipear el hash de ese commit"
|
"¡Boom! Ahí está. Mucho más simple que tipear el hash de ese commit."
|
||||||
],
|
],
|
||||||
"command": "git checkout master^",
|
"command": "git checkout master^",
|
||||||
"beforeCommand": "git commit"
|
"beforeCommand": "git commit"
|
||||||
|
@ -316,7 +316,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"También podés referenciar a `HEAD` como una referencia relativa. Usémoslo un par de veces para movernos hacia atrás en nuestro árbol"
|
"También podés referenciar a `HEAD` como una referencia relativa. Usémoslo un par de veces para movernos hacia atrás en nuestro árbol."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Fácil! Podemos volver en el tiempo con `HEAD^`"
|
"¡Fácil! Podemos volver en el tiempo con `HEAD^`"
|
||||||
|
@ -378,10 +378,10 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"`master^^` es el _abuelo_ (segunda generación de ancestros) de `master`",
|
"`master^^` es el _abuelo_ (segunda generación de ancestros) de `master`",
|
||||||
"",
|
"",
|
||||||
"Veamos el commit que está antes de master aquí"
|
"Veamos el commit que está antes de master aquí."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Zas! Ahí está. Mucho más simple que escribir el hash de ese commit"
|
"¡Zas! Ahí está. Mucho más simple que escribir el hash de ese commit."
|
||||||
],
|
],
|
||||||
"command": "git checkout master^",
|
"command": "git checkout master^",
|
||||||
"beforeCommand": "git commit"
|
"beforeCommand": "git commit"
|
||||||
|
@ -391,7 +391,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"También puedes referenciar a `HEAD` como una referencia relativa. Usémoslo un par de veces para movernos hacia atrás en nuestro árbol"
|
"También puedes referenciar a `HEAD` como una referencia relativa. Usémoslo un par de veces para movernos hacia atrás en nuestro árbol."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Fácil! Podemos volver en el tiempo con `HEAD^`"
|
"¡Fácil! Podemos volver en el tiempo con `HEAD^`"
|
||||||
|
@ -453,10 +453,10 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"`master^^` é o avô (ancestral de segunda geração) do `master`",
|
"`master^^` é o avô (ancestral de segunda geração) do `master`",
|
||||||
"",
|
"",
|
||||||
"Vamos fazer checkout do commit logo acima do master"
|
"Vamos fazer checkout do commit logo acima do master."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Boom! Pronto. Muito mais fácil que digitar o hash do commit"
|
"Boom! Pronto. Muito mais fácil que digitar o hash do commit."
|
||||||
],
|
],
|
||||||
"command": "git checkout master^",
|
"command": "git checkout master^",
|
||||||
"beforeCommand": "git commit"
|
"beforeCommand": "git commit"
|
||||||
|
@ -466,7 +466,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Você também pode usar o `HEAD` como parte de uma referência relativa. Vamos usar isso para nos mover para cima algumas vezes na árvore de commits"
|
"Você também pode usar o `HEAD` como parte de uma referência relativa. Vamos usar isso para nos mover para cima algumas vezes na árvore de commits."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Fácil! Podemos viajar para trás no tempo com `HEAD^`"
|
"Fácil! Podemos viajar para trás no tempo com `HEAD^`"
|
||||||
|
@ -528,10 +528,10 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"`master^^` é o avó (ancestral de segunda xeración) do `master`",
|
"`master^^` é o avó (ancestral de segunda xeración) do `master`",
|
||||||
"",
|
"",
|
||||||
"Imos facer checkout do commit que está enriba de master"
|
"Imos facer checkout do commit que está enriba de master."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Boom! Ahí o tes. Moito máis rápido que por o hash do commit"
|
"Boom! Ahí o tes. Moito máis rápido que por o hash do commit."
|
||||||
],
|
],
|
||||||
"command": "git checkout master^",
|
"command": "git checkout master^",
|
||||||
"beforeCommand": "git commit"
|
"beforeCommand": "git commit"
|
||||||
|
@ -1141,7 +1141,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Prav tako se lahko sklicuješ na `HEAD` kot relativno referenco. Uporabimo to nekajkrat, da se pomakenmo višje po drevesu commitov"
|
"Prav tako se lahko sklicuješ na `HEAD` kot relativno referenco. Uporabimo to nekajkrat, da se pomakenmo višje po drevesu commitov."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Enostavno! Lahko potujemo nazaj v čas z `HEAD^`."
|
"Enostavno! Lahko potujemo nazaj v čas z `HEAD^`."
|
||||||
|
|
|
@ -48,7 +48,7 @@ exports.level = {
|
||||||
"Say you want to move a lot of levels up in the commit tree. It might be tedious to type `^` several times, so Git also has the tilde (~) operator.",
|
"Say you want to move a lot of levels up in the commit tree. It might be tedious to type `^` several times, so Git also has the tilde (~) operator.",
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
"The tilde operator (optionally) takes in a trailing number that specifies the number of parents you would like to ascend. Let's see it in action"
|
"The tilde operator (optionally) takes in a trailing number that specifies the number of parents you would like to ascend. Let's see it in action."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -295,7 +295,7 @@ exports.level = {
|
||||||
"Vejamos o comando anterior em ação"
|
"Vejamos o comando anterior em ação"
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Aqui vamos nós! As referências relativas nos deram uma forma concisa de nos referirmos ao `C1`, e a movimentação de ramos (com `-f`) nos deu uma forma de apontar rapidamente um ramo para esse local"
|
"Aqui vamos nós! As referências relativas nos deram uma forma concisa de nos referirmos ao `C1`, e a movimentação de ramos (com `-f`) nos deu uma forma de apontar rapidamente um ramo para esse local."
|
||||||
],
|
],
|
||||||
"command": "git branch -f master HEAD~3",
|
"command": "git branch -f master HEAD~3",
|
||||||
"beforeCommand": "git commit; git commit; git commit; git checkout -b bugFix"
|
"beforeCommand": "git commit; git commit; git commit; git checkout -b bugFix"
|
||||||
|
@ -393,7 +393,7 @@ exports.level = {
|
||||||
"Disons que vous souhaitez remonter beaucoup de niveaux dans l'arbre des commits. Cela peut être ennuyeux d'utiliser `^` plusieurs fois, ainsi Git a aussi l'opérateur tilde (~).",
|
"Disons que vous souhaitez remonter beaucoup de niveaux dans l'arbre des commits. Cela peut être ennuyeux d'utiliser `^` plusieurs fois, ainsi Git a aussi l'opérateur tilde (~).",
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
"L'opérateur tilde prend optionnellement à sa suite un nombre qui spécifie le nombre de parents que vous souhaitez remonter. Voyons cela en action"
|
"L'opérateur tilde prend optionnellement à sa suite un nombre qui spécifie le nombre de parents que vous souhaitez remonter. Voyons cela en action."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -430,7 +430,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Voyons l'effet de la précédente commande"
|
"Voyons l'effet de la précédente commande."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"On y est ! Les références relatives nous donnent une méthode concise pour référencer `C1` et le forçage de branche (`-f`) nous donne une méthode rapide pour bouger une branche à cet emplacement."
|
"On y est ! Les références relatives nous donnent une méthode concise pour référencer `C1` et le forçage de branche (`-f`) nous donne une méthode rapide pour bouger une branche à cet emplacement."
|
||||||
|
@ -469,7 +469,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Geben wir mit `~` an wieviele Commits wir zurückgehen wollen"
|
"Geben wir mit `~` an wieviele Commits wir zurückgehen wollen."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Peng! So einfach -- relative Referenzen sind super."
|
"Peng! So einfach -- relative Referenzen sind super."
|
||||||
|
|
|
@ -78,7 +78,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"While resetting works great for local branches on your own machine, its method of \"rewriting history\" doesn't work for remote branches that others are using.",
|
"While resetting works great for local branches on your own machine, its method of \"rewriting history\" doesn't work for remote branches that others are using.",
|
||||||
"",
|
"",
|
||||||
"In order to reverse changes and *share* those reversed changes with others, we need to use `git revert`. Let's see it in action"
|
"In order to reverse changes and *share* those reversed changes with others, we need to use `git revert`. Let's see it in action."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Weird, a new commit plopped down below the commit we wanted to reverse. That's because this new commit `C2'` introduces *changes* -- it just happens to introduce changes that exactly reverses the commit of `C2`.",
|
"Weird, a new commit plopped down below the commit we wanted to reverse. That's because this new commit `C2'` introduces *changes* -- it just happens to introduce changes that exactly reverses the commit of `C2`.",
|
||||||
|
@ -127,7 +127,7 @@ exports.level = {
|
||||||
"Veamos cómo es eso:"
|
"Veamos cómo es eso:"
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Genial! git simplemente movió la referencia de la rama master atrás hacia `C1`. Ahora tu repositorio local está en un estado como si `C2` nunca hubiera ocurrido"
|
"¡Genial! git simplemente movió la referencia de la rama master atrás hacia `C1`. Ahora tu repositorio local está en un estado como si `C2` nunca hubiera ocurrido."
|
||||||
],
|
],
|
||||||
"command": "git reset HEAD~1",
|
"command": "git reset HEAD~1",
|
||||||
"beforeCommand": "git commit"
|
"beforeCommand": "git commit"
|
||||||
|
@ -190,7 +190,7 @@ exports.level = {
|
||||||
"Veamos cómo es eso:"
|
"Veamos cómo es eso:"
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Genial! git simplemente movió la referencia de la rama master atrás hacia `C1`. Ahora tu repositorio local está en un estado como si `C2` nunca hubiera ocurrido"
|
"¡Genial! git simplemente movió la referencia de la rama master atrás hacia `C1`. Ahora tu repositorio local está en un estado como si `C2` nunca hubiera ocurrido."
|
||||||
],
|
],
|
||||||
"command": "git reset HEAD~1",
|
"command": "git reset HEAD~1",
|
||||||
"beforeCommand": "git commit"
|
"beforeCommand": "git commit"
|
||||||
|
@ -253,7 +253,7 @@ exports.level = {
|
||||||
"Vejamos como funciona:"
|
"Vejamos como funciona:"
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Legal! O Git simplesmente moveu a referência do ramo master de volta para `C1`; agora o nosso repositório local está em um estado como se o `C2` nunca tivesse acontecido"
|
"Legal! O Git simplesmente moveu a referência do ramo master de volta para `C1`; agora o nosso repositório local está em um estado como se o `C2` nunca tivesse acontecido."
|
||||||
],
|
],
|
||||||
"command": "git reset HEAD~1",
|
"command": "git reset HEAD~1",
|
||||||
"beforeCommand": "git commit"
|
"beforeCommand": "git commit"
|
||||||
|
@ -330,7 +330,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Mentres que resetear os cambios funciona xenial para as ramas locales na túa máquina, o método utilizado de \"reescribir o histórico\" non funciona con ramas remotas que outra xente usa.",
|
"Mentres que resetear os cambios funciona xenial para as ramas locales na túa máquina, o método utilizado de \"reescribir o histórico\" non funciona con ramas remotas que outra xente usa.",
|
||||||
"",
|
"",
|
||||||
"Para revervir os cambios e *compartir* eses cambios ca outra xente, precisamos usar `git revert`. Atende a cómo funciona"
|
"Para revervir os cambios e *compartir* eses cambios ca outra xente, precisamos usar `git revert`. Atende a cómo funciona."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Estrano, xurdíu un novo commit por baixo do commit que queriamos desfacer. Iso é porque o novo commit `C2'` engadíu *cambios* -- o que pasa é que o commit desfai exactamente os cambios feitos no commit `C2`.",
|
"Estrano, xurdíu un novo commit por baixo do commit que queriamos desfacer. Iso é porque o novo commit `C2'` engadíu *cambios* -- o que pasa é que o commit desfai exactamente os cambios feitos no commit `C2`.",
|
||||||
|
@ -505,7 +505,7 @@ exports.level = {
|
||||||
"Regardons à quoi cela ressemble :"
|
"Regardons à quoi cela ressemble :"
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Bravo ! Git a simplement déplacé la référence de la branche master en la faisant revenir sur `C1`; désormais notre dépôt est dans le même état que si `C2` n'avait jamais eu lieu"
|
"Bravo ! Git a simplement déplacé la référence de la branche master en la faisant revenir sur `C1`; désormais notre dépôt est dans le même état que si `C2` n'avait jamais eu lieu."
|
||||||
],
|
],
|
||||||
"command": "git reset HEAD~1",
|
"command": "git reset HEAD~1",
|
||||||
"beforeCommand": "git commit"
|
"beforeCommand": "git commit"
|
||||||
|
@ -519,7 +519,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Bien que le reset marche parfaitement pour les branches locales sur notre propre machine, cette façon de \"réécrire l'histoire\" ne marche pas avec les banches distantes (remote) que d'autres personnes utilisent.",
|
"Bien que le reset marche parfaitement pour les branches locales sur notre propre machine, cette façon de \"réécrire l'histoire\" ne marche pas avec les banches distantes (remote) que d'autres personnes utilisent.",
|
||||||
"",
|
"",
|
||||||
"Pour pouvoir annuler des changements et *partager* ces annulations avec d'autres, nous devons utiliser `git revert`. Regardons comment cela fonctionne"
|
"Pour pouvoir annuler des changements et *partager* ces annulations avec d'autres, nous devons utiliser `git revert`. Regardons comment cela fonctionne."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Étrangement, un nouveau commit est apparu en bas sous le commit que nous voulions annuler. C'est parce que ce nouveau commit `C2'` introduit des *modifications* -- celles qui correspondent justement à l'annulation de celles du commit `C2`.",
|
"Étrangement, un nouveau commit est apparu en bas sous le commit que nous voulions annuler. C'est parce que ce nouveau commit `C2'` introduit des *modifications* -- celles qui correspondent justement à l'annulation de celles du commit `C2`.",
|
||||||
|
|
|
@ -62,7 +62,7 @@ exports.level = {
|
||||||
"markdowns": [
|
"markdowns": [
|
||||||
"## Our Command to create remotes",
|
"## Our Command to create remotes",
|
||||||
"",
|
"",
|
||||||
"Up until this point, Learn Git Branching has focused on teaching the basics of _local_ repository work (branching, merging, rebasing, etc). However now that we want to learn about remote repository work, we need a command to set up the environment for those lessons. `git clone` will be that command",
|
"Up until this point, Learn Git Branching has focused on teaching the basics of _local_ repository work (branching, merging, rebasing, etc). However now that we want to learn about remote repository work, we need a command to set up the environment for those lessons. `git clone` will be that command.",
|
||||||
"",
|
"",
|
||||||
"Technically, `git clone` in the real world is the command you'll use to create _local_ copies of remote repositories (from github for example). We use this command a bit differently in Learn Git Branching though -- `git clone` actually makes a remote repository out of your local one. Sure it's technically the opposite meaning of the real command, but it helps build the connection between cloning and remote repository work, so let's just run with it for now.",
|
"Technically, `git clone` in the real world is the command you'll use to create _local_ copies of remote repositories (from github for example). We use this command a bit differently in Learn Git Branching though -- `git clone` actually makes a remote repository out of your local one. Sure it's technically the opposite meaning of the real command, but it helps build the connection between cloning and remote repository work, so let's just run with it for now.",
|
||||||
""
|
""
|
||||||
|
|
|
@ -57,7 +57,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"The default behavior of `fakeTeamwork` is to simply plop down a commit on master"
|
"The default behavior of `fakeTeamwork` is to simply plop down a commit on master."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"There we go -- the remote was updated with a new commit, and we haven't downloaded that commit yet because we haven't run `git fetch`."
|
"There we go -- the remote was updated with a new commit, and we haven't downloaded that commit yet because we haven't run `git fetch`."
|
||||||
|
@ -70,10 +70,10 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"You can also specify the number of commits or the branch by appending them to the command"
|
"You can also specify the number of commits or the branch by appending them to the command."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"With one command we simulated a teammate pushing three commits to the `foo` branch on our remote"
|
"With one command we simulated a teammate pushing three commits to the `foo` branch on our remote."
|
||||||
],
|
],
|
||||||
"command": "git fakeTeamwork foo 3",
|
"command": "git fakeTeamwork foo 3",
|
||||||
"beforeCommand": "git branch foo; git clone"
|
"beforeCommand": "git branch foo; git clone"
|
||||||
|
@ -127,7 +127,7 @@ exports.level = {
|
||||||
"Vous pouvez aussi spécifier le nombre de commits ou la branche en les ajoutant à la fin de la commande."
|
"Vous pouvez aussi spécifier le nombre de commits ou la branche en les ajoutant à la fin de la commande."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Avec une seule commande, nous avons simulé un collègue ayant pushé 3 commits sur la branche `foo` de notre dépôt distant"
|
"Avec une seule commande, nous avons simulé un collègue ayant pushé 3 commits sur la branche `foo` de notre dépôt distant."
|
||||||
],
|
],
|
||||||
"command": "git fakeTeamwork foo 3",
|
"command": "git fakeTeamwork foo 3",
|
||||||
"beforeCommand": "git branch foo; git clone"
|
"beforeCommand": "git branch foo; git clone"
|
||||||
|
@ -165,7 +165,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"El comportamiento por default de `fakeTeamwork` es simplemente crear un commit en master"
|
"El comportamiento por default de `fakeTeamwork` es simplemente crear un commit en master."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Ahí está: el remoto se actualizó con un nuevo commit, y todavía no nos bajamos ese commit porque aún no hicimos `git fetch`."
|
"Ahí está: el remoto se actualizó con un nuevo commit, y todavía no nos bajamos ese commit porque aún no hicimos `git fetch`."
|
||||||
|
@ -178,10 +178,10 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"También podés especificar la cantidad de commits o la ramma agregándolos al comando"
|
"También podés especificar la cantidad de commits o la ramma agregándolos al comando."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Con un único comando simulamos que un compañero de equipo pusheó tres commits a la rama `foo` de nuestro remoto"
|
"Con un único comando simulamos que un compañero de equipo pusheó tres commits a la rama `foo` de nuestro remoto."
|
||||||
],
|
],
|
||||||
"command": "git fakeTeamwork foo 3",
|
"command": "git fakeTeamwork foo 3",
|
||||||
"beforeCommand": "git branch foo; git clone"
|
"beforeCommand": "git branch foo; git clone"
|
||||||
|
@ -219,7 +219,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"El comportamiento por default de `fakeTeamwork` es simplemente crear un commit en master"
|
"El comportamiento por default de `fakeTeamwork` es simplemente crear un commit en master."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Ahí está: el remoto se actualizó con un nuevo commit, y todavía no nos bajamos ese commit porque aún no hicimos `git fetch`."
|
"Ahí está: el remoto se actualizó con un nuevo commit, y todavía no nos bajamos ese commit porque aún no hicimos `git fetch`."
|
||||||
|
@ -232,10 +232,10 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"También puedes especificar la cantidad de commits o la ramma agregándolos al comando"
|
"También puedes especificar la cantidad de commits o la ramma agregándolos al comando."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Con un único comando simulamos que un compañero de equipo pusheó tres commits a la rama `foo` de nuestro remoto"
|
"Con un único comando simulamos que un compañero de equipo pusheó tres commits a la rama `foo` de nuestro remoto."
|
||||||
],
|
],
|
||||||
"command": "git fakeTeamwork foo 3",
|
"command": "git fakeTeamwork foo 3",
|
||||||
"beforeCommand": "git branch foo; git clone"
|
"beforeCommand": "git branch foo; git clone"
|
||||||
|
@ -273,7 +273,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"O comportamento padrão do `fakeTeamwork` é simplesmente fazer aparecer um commit no master"
|
"O comportamento padrão do `fakeTeamwork` é simplesmente fazer aparecer um commit no master."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Aqui vamos nos -- o repositório remoto foi atualizado com um novo commit, e ainda não baixamos esse commit porque não executamos um `git fetch`."
|
"Aqui vamos nos -- o repositório remoto foi atualizado com um novo commit, e ainda não baixamos esse commit porque não executamos um `git fetch`."
|
||||||
|
@ -286,10 +286,10 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Você também pode especificar o número de commits ou o ramo, anexando-os ao comando"
|
"Você também pode especificar o número de commits ou o ramo, anexando-os ao comando."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Com um único comando, nós simulamos um colega enviando 3 commits para o ramo `foo` do repositório remoto"
|
"Com um único comando, nós simulamos um colega enviando 3 commits para o ramo `foo` do repositório remoto."
|
||||||
],
|
],
|
||||||
"command": "git fakeTeamwork foo 3",
|
"command": "git fakeTeamwork foo 3",
|
||||||
"beforeCommand": "git branch foo; git clone"
|
"beforeCommand": "git branch foo; git clone"
|
||||||
|
@ -327,7 +327,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"O comportamento por defecto de `fakeTeamwork` é simplemente crear un commit en master na rama remota"
|
"O comportamento por defecto de `fakeTeamwork` é simplemente crear un commit en master na rama remota."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Ahí o tes: a rama remota actualizouse cun novo commit, e aínda non nos baixamos ese commit porque inda non fixemos `git fetch`."
|
"Ahí o tes: a rama remota actualizouse cun novo commit, e aínda non nos baixamos ese commit porque inda non fixemos `git fetch`."
|
||||||
|
@ -340,10 +340,10 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Tamén podes especificar a cantidad de commits ou a rama agregándoos ó comando"
|
"Tamén podes especificar a cantidad de commits ou a rama agregándoos ó comando."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Cun único comando simulamos que un colega do equipo empurrou tres commits á rama `foo` do noso remoto"
|
"Cun único comando simulamos que un colega do equipo empurrou tres commits á rama `foo` do noso remoto."
|
||||||
],
|
],
|
||||||
"command": "git fakeTeamwork foo 3",
|
"command": "git fakeTeamwork foo 3",
|
||||||
"beforeCommand": "git branch foo; git clone"
|
"beforeCommand": "git branch foo; git clone"
|
||||||
|
@ -653,7 +653,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"За замовчуванням `fakeTeamwork` просто додасть коміт в гілку `master`"
|
"За замовчуванням `fakeTeamwork` просто додасть коміт в гілку `master`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Є -- до віддаленого репозиторію додався ще один коміт, проте ми ще його не звантажили, оскільки ще не виконали `git fetch`."
|
"Є -- до віддаленого репозиторію додався ще один коміт, проте ми ще його не звантажили, оскільки ще не виконали `git fetch`."
|
||||||
|
@ -761,7 +761,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Hành xử mặc định của `fakeTeamwork` đơn giản là tạo ra một commit ở trên nhánh master từ xa"
|
"Hành xử mặc định của `fakeTeamwork` đơn giản là tạo ra một commit ở trên nhánh master từ xa."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Đó -- kho chứa từ xa đã được cập nhật thêm một commit, và ta chưa tải commit đó xuống vì ta chưa hề chạy lệnh `git fetch`."
|
"Đó -- kho chứa từ xa đã được cập nhật thêm một commit, và ta chưa tải commit đó xuống vì ta chưa hề chạy lệnh `git fetch`."
|
||||||
|
@ -774,10 +774,10 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Bạn cũng có thể chỉ định số lượng commit bằng cách thêm con số đằng sau câu lệnh"
|
"Bạn cũng có thể chỉ định số lượng commit bằng cách thêm con số đằng sau câu lệnh."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Chỉ với một câu lệnh ta có thể giả lập tạo ra 3 commit trên nhánh `foo` từ xa của ta"
|
"Chỉ với một câu lệnh ta có thể giả lập tạo ra 3 commit trên nhánh `foo` từ xa của ta."
|
||||||
],
|
],
|
||||||
"command": "git fakeTeamwork foo 3",
|
"command": "git fakeTeamwork foo 3",
|
||||||
"beforeCommand": "git branch foo; git clone"
|
"beforeCommand": "git branch foo; git clone"
|
||||||
|
|
|
@ -49,7 +49,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"In this lesson we will learn how to fetch data _from_ a remote repository -- the command for this is conveniently named `git fetch`.",
|
"In this lesson we will learn how to fetch data _from_ a remote repository -- the command for this is conveniently named `git fetch`.",
|
||||||
"",
|
"",
|
||||||
"You'll notice that as we update our representation of the remote repository, our _remote_ branches will update to reflect that new representation. This ties into the previous lesson on remote branches"
|
"You'll notice that as we update our representation of the remote repository, our _remote_ branches will update to reflect that new representation. This ties into the previous lesson on remote branches."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -195,7 +195,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"En esta lección aprenderemos cómo traer (hacer `fetch`) datos _desde_ un repositorio remoto - el comando para esto se llama, convenientemente, `git fetch`).",
|
"En esta lección aprenderemos cómo traer (hacer `fetch`) datos _desde_ un repositorio remoto - el comando para esto se llama, convenientemente, `git fetch`).",
|
||||||
"",
|
"",
|
||||||
"Vas a notar que a medida que actualicemos nuestra representación de nuestro repositorio remoto, nuestras ramas _remotas_ van a actualizarse para reflejar esa nueva representación. Esto está ligado a la lección anterior sobre ramas remotas"
|
"Vas a notar que a medida que actualicemos nuestra representación de nuestro repositorio remoto, nuestras ramas _remotas_ van a actualizarse para reflejar esa nueva representación. Esto está ligado a la lección anterior sobre ramas remotas."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -250,7 +250,7 @@ exports.level = {
|
||||||
"type": "ModalAlert",
|
"type": "ModalAlert",
|
||||||
"options": {
|
"options": {
|
||||||
"markdowns": [
|
"markdowns": [
|
||||||
"Para completar este nivel, simplemente corré `git fetch` y bajate todos los commits"
|
"Para completar este nivel, simplemente corré `git fetch` y bajate todos los commits."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -268,7 +268,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"En esta lección aprenderemos cómo traer (hacer `fetch`) datos _desde_ un repositorio remoto - el comando para esto se llama, convenientemente, `git fetch`).",
|
"En esta lección aprenderemos cómo traer (hacer `fetch`) datos _desde_ un repositorio remoto - el comando para esto se llama, convenientemente, `git fetch`).",
|
||||||
"",
|
"",
|
||||||
"Vas a notar que a medida que actualicemos nuestra representación de nuestro repositorio remoto, nuestras ramas _remotas_ van a actualizarse para reflejar esa nueva representación. Esto está ligado a la lección anterior sobre ramas remotas"
|
"Vas a notar que a medida que actualicemos nuestra representación de nuestro repositorio remoto, nuestras ramas _remotas_ van a actualizarse para reflejar esa nueva representación. Esto está ligado a la lección anterior sobre ramas remotas."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -323,7 +323,7 @@ exports.level = {
|
||||||
"type": "ModalAlert",
|
"type": "ModalAlert",
|
||||||
"options": {
|
"options": {
|
||||||
"markdowns": [
|
"markdowns": [
|
||||||
"Para completar este nivel, simplemente ejecuta `git fetch` y bájate todos los commits"
|
"Para completar este nivel, simplemente ejecuta `git fetch` y bájate todos los commits."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -341,7 +341,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Nesta lição vamos aprender como baixar dados _de_ um repositório remoto -- o comando para isso é convenientemente chamado de `git fetch`.",
|
"Nesta lição vamos aprender como baixar dados _de_ um repositório remoto -- o comando para isso é convenientemente chamado de `git fetch`.",
|
||||||
"",
|
"",
|
||||||
"Você perceberá que conforme atualizarmos a representação do repositório remoto, nossos ramos _remotos_ atualizar-se-ão para refletir essa nova representação. Isso tem a ver com o que vimos na lição anterior sobre ramos remotos"
|
"Você perceberá que conforme atualizarmos a representação do repositório remoto, nossos ramos _remotos_ atualizar-se-ão para refletir essa nova representação. Isso tem a ver com o que vimos na lição anterior sobre ramos remotos."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -414,7 +414,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Nesta lección imos aprender como baixar os cambios _dun_ repositorio remoto -- o comando para iso é `git fetch`.",
|
"Nesta lección imos aprender como baixar os cambios _dun_ repositorio remoto -- o comando para iso é `git fetch`.",
|
||||||
"",
|
"",
|
||||||
"Percibirás que conforme atualizamos a representación do repositorio remoto, as nosas ramas _remotas_ actualizaranse para reflexar a nova representación. Iso ten que ver co que vimos na lección anterior sobre as ramas remotas"
|
"Percibirás que conforme atualizamos a representación do repositorio remoto, as nosas ramas _remotas_ actualizaranse para reflexar a nova representación. Iso ten que ver co que vimos na lección anterior sobre as ramas remotas."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -998,7 +998,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"Ở bài học này ta sẽ học cách lấy dữ liệu về _từ_ một kho chứa từ xa -- lệnh đó là `git fetch`.",
|
"Ở bài học này ta sẽ học cách lấy dữ liệu về _từ_ một kho chứa từ xa -- lệnh đó là `git fetch`.",
|
||||||
"",
|
"",
|
||||||
"Bạn sẽ nhận thấy rằng khi ta cập nhật đại điện kho chứa từ xa, Nhánh _từ xa_ của ta cũng được cập nhật để phản ánh đại diện đó. Điều này liên quan đến bài học trước về nhánh từ xa"
|
"Bạn sẽ nhận thấy rằng khi ta cập nhật đại điện kho chứa từ xa, Nhánh _từ xa_ của ta cũng được cập nhật để phản ánh đại diện đó. Điều này liên quan đến bài học trước về nhánh từ xa."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -76,7 +76,7 @@ exports.level = {
|
||||||
"By specifying a place..."
|
"By specifying a place..."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"We download only the commits from `foo` and place them on `o/foo`"
|
"We download only the commits from `foo` and place them on `o/foo`."
|
||||||
],
|
],
|
||||||
"command": "git fetch origin foo",
|
"command": "git fetch origin foo",
|
||||||
"beforeCommand": "git branch foo; git clone; git fakeTeamwork foo 2"
|
"beforeCommand": "git branch foo; git clone; git fakeTeamwork foo 2"
|
||||||
|
@ -322,7 +322,7 @@ exports.level = {
|
||||||
"Especificando un lugar..."
|
"Especificando un lugar..."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Sólo bajamos los commits de `foo` y los ubicamos en `o/foo`"
|
"Sólo bajamos los commits de `foo` y los ubicamos en `o/foo`."
|
||||||
],
|
],
|
||||||
"command": "git fetch origin foo",
|
"command": "git fetch origin foo",
|
||||||
"beforeCommand": "git branch foo; git clone; git fakeTeamwork foo 2"
|
"beforeCommand": "git branch foo; git clone; git fakeTeamwork foo 2"
|
||||||
|
@ -445,7 +445,7 @@ exports.level = {
|
||||||
"Especificando un lugar..."
|
"Especificando un lugar..."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Sólo bajamos los commits de `foo` y los ubicamos en `o/foo`"
|
"Sólo bajamos los commits de `foo` y los ubicamos en `o/foo`."
|
||||||
],
|
],
|
||||||
"command": "git fetch origin foo",
|
"command": "git fetch origin foo",
|
||||||
"beforeCommand": "git branch foo; git clone; git fakeTeamwork foo 2"
|
"beforeCommand": "git branch foo; git clone; git fakeTeamwork foo 2"
|
||||||
|
@ -568,7 +568,7 @@ exports.level = {
|
||||||
"Especificando um lugar..."
|
"Especificando um lugar..."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Baixamos só os commits de `foo` e colocamos em `o/foo`"
|
"Baixamos só os commits de `foo` e colocamos em `o/foo`."
|
||||||
],
|
],
|
||||||
"command": "git fetch origin foo",
|
"command": "git fetch origin foo",
|
||||||
"beforeCommand": "git branch foo; git clone; git fakeTeamwork foo 2"
|
"beforeCommand": "git branch foo; git clone; git fakeTeamwork foo 2"
|
||||||
|
@ -691,7 +691,7 @@ exports.level = {
|
||||||
"Especificando un lugar..."
|
"Especificando un lugar..."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Sólo baixamos os commits de `foo` e os poñemos en `o/foo`"
|
"Sólo baixamos os commits de `foo` e os poñemos en `o/foo`."
|
||||||
],
|
],
|
||||||
"command": "git fetch origin foo",
|
"command": "git fetch origin foo",
|
||||||
"beforeCommand": "git branch foo; git clone; git fakeTeamwork foo 2"
|
"beforeCommand": "git branch foo; git clone; git fakeTeamwork foo 2"
|
||||||
|
@ -1049,7 +1049,7 @@ exports.level = {
|
||||||
"",
|
"",
|
||||||
"wird Git zum Branch `foo` auf dem Remote gehen, dort alle Änderungen holen, die es lokal noch nicht gibt, und sie an den lokalen Branch `o/foo` anhängen.",
|
"wird Git zum Branch `foo` auf dem Remote gehen, dort alle Änderungen holen, die es lokal noch nicht gibt, und sie an den lokalen Branch `o/foo` anhängen.",
|
||||||
"",
|
"",
|
||||||
"Schauen wir uns das mal live an (nur zur Wiederholung)"
|
"Schauen wir uns das mal live an (nur zur Wiederholung)."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1183,7 +1183,7 @@ exports.level = {
|
||||||
"Указывая пункт назначения..."
|
"Указывая пункт назначения..."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"мы скачиваем только коммиты с ветки `foo` и помещаем их в `o/foo`"
|
"мы скачиваем только коммиты с ветки `foo` и помещаем их в `o/foo`."
|
||||||
],
|
],
|
||||||
"command": "git fetch origin foo",
|
"command": "git fetch origin foo",
|
||||||
"beforeCommand": "git branch foo; git clone; git fakeTeamwork foo 2"
|
"beforeCommand": "git branch foo; git clone; git fakeTeamwork foo 2"
|
||||||
|
@ -1429,7 +1429,7 @@ exports.level = {
|
||||||
"Вказуючи `<place>`..."
|
"Вказуючи `<place>`..."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Ми звантажуємо коміти лише з `foo` і кладемо їх в `o/foo`"
|
"Ми звантажуємо коміти лише з `foo` і кладемо їх в `o/foo`."
|
||||||
],
|
],
|
||||||
"command": "git fetch origin foo",
|
"command": "git fetch origin foo",
|
||||||
"beforeCommand": "git branch foo; git clone; git fakeTeamwork foo 2"
|
"beforeCommand": "git branch foo; git clone; git fakeTeamwork foo 2"
|
||||||
|
@ -1552,7 +1552,7 @@ exports.level = {
|
||||||
"Thông qua chỉ định vị trí..."
|
"Thông qua chỉ định vị trí..."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Ta chỉ tải xuống commit ở trên nhánh `foo` và đặt chúng ở nhánh `o/foo`"
|
"Ta chỉ tải xuống commit ở trên nhánh `foo` và đặt chúng ở nhánh `o/foo`."
|
||||||
],
|
],
|
||||||
"command": "git fetch origin foo",
|
"command": "git fetch origin foo",
|
||||||
"beforeCommand": "git branch foo; git clone; git fakeTeamwork foo 2"
|
"beforeCommand": "git branch foo; git clone; git fakeTeamwork foo 2"
|
||||||
|
|
|
@ -68,10 +68,10 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"So much talking! Let's see this situation in action"
|
"So much talking! Let's see this situation in action."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"See? Nothing happened because the command fails. `git push` fails because your most recent commit `C3` is based off of the remote at `C1`. The remote has since been updated to `C2` though, so git rejects your push"
|
"See? Nothing happened because the command fails. `git push` fails because your most recent commit `C3` is based off of the remote at `C1`. The remote has since been updated to `C2` though, so git rejects your push."
|
||||||
],
|
],
|
||||||
"command": "git push",
|
"command": "git push",
|
||||||
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
||||||
|
@ -94,7 +94,7 @@ exports.level = {
|
||||||
"Now if we rebase before pushing instead..."
|
"Now if we rebase before pushing instead..."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Boom! We updated our local representation of the remote with `git fetch`, rebased our work to reflect the new changes in the remote, and then pushed them with `git push`"
|
"Boom! We updated our local representation of the remote with `git fetch`, rebased our work to reflect the new changes in the remote, and then pushed them with `git push`."
|
||||||
],
|
],
|
||||||
"command": "git fetch; git rebase o/master; git push",
|
"command": "git fetch; git rebase o/master; git push",
|
||||||
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
||||||
|
@ -119,7 +119,7 @@ exports.level = {
|
||||||
"Now if we merge instead of rebasing..."
|
"Now if we merge instead of rebasing..."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Boom! We updated our local representation of the remote with `git fetch`, *merged* the new work into our work (to reflect the new changes in the remote), and then pushed them with `git push`"
|
"Boom! We updated our local representation of the remote with `git fetch`, *merged* the new work into our work (to reflect the new changes in the remote), and then pushed them with `git push`."
|
||||||
],
|
],
|
||||||
"command": "git fetch; git merge o/master; git push",
|
"command": "git fetch; git merge o/master; git push",
|
||||||
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
||||||
|
@ -154,7 +154,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"And now with regular `pull`"
|
"And now with regular `pull`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Again, exact same as before!"
|
"Again, exact same as before!"
|
||||||
|
@ -357,7 +357,7 @@ exports.level = {
|
||||||
"¡Demasiada charla, veámoslo en acción!"
|
"¡Demasiada charla, veámoslo en acción!"
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¿Ves? No pasó nada, porque el comando falla. `git push` falla porque `C3`, tu commit más reciente, está basado en el remoto sobre `C1`. El remoto fue actualizado a `C2` desde entonces, por lo que git rechaza tu push"
|
"¿Ves? No pasó nada, porque el comando falla. `git push` falla porque `C3`, tu commit más reciente, está basado en el remoto sobre `C1`. El remoto fue actualizado a `C2` desde entonces, por lo que git rechaza tu push."
|
||||||
],
|
],
|
||||||
"command": "git push",
|
"command": "git push",
|
||||||
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
||||||
|
@ -380,7 +380,7 @@ exports.level = {
|
||||||
"Ahora, si mejor rebaseamos antes de pushear..."
|
"Ahora, si mejor rebaseamos antes de pushear..."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Boom! Actualizamos nuestra representación local del remoto con `git fetch`, rebaseamos nuestro trabajo para reflejar los nuevos cambios del remoto, y después los pusheamos con `git push`"
|
"¡Boom! Actualizamos nuestra representación local del remoto con `git fetch`, rebaseamos nuestro trabajo para reflejar los nuevos cambios del remoto, y después los pusheamos con `git push`."
|
||||||
],
|
],
|
||||||
"command": "git fetch; git rebase o/master; git push",
|
"command": "git fetch; git rebase o/master; git push",
|
||||||
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
||||||
|
@ -405,7 +405,7 @@ exports.level = {
|
||||||
"Si en lugar de rebasear hacemos un merge..."
|
"Si en lugar de rebasear hacemos un merge..."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Boom! Actualizamos nuestra representación local del remoto usando `git fetch`, *mergeamos* el nuevo trabajo junto con el nuestro (para reflejar los nuevos cambios en el remoto), y después los pusheamos usando `git push`"
|
"¡Boom! Actualizamos nuestra representación local del remoto usando `git fetch`, *mergeamos* el nuevo trabajo junto con el nuestro (para reflejar los nuevos cambios en el remoto), y después los pusheamos usando `git push`."
|
||||||
],
|
],
|
||||||
"command": "git fetch; git merge o/master; git push",
|
"command": "git fetch; git merge o/master; git push",
|
||||||
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
||||||
|
@ -500,7 +500,7 @@ exports.level = {
|
||||||
"¡Demasiada charla, veámoslo en acción!"
|
"¡Demasiada charla, veámoslo en acción!"
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¿Ves? No pasó nada, porque el comando falla. `git push` falla porque `C3`, tu commit más reciente, está basado en el remoto sobre `C1`. El remoto fue actualizado a `C2` desde entonces, por lo que git rechaza tu push"
|
"¿Ves? No pasó nada, porque el comando falla. `git push` falla porque `C3`, tu commit más reciente, está basado en el remoto sobre `C1`. El remoto fue actualizado a `C2` desde entonces, por lo que git rechaza tu push."
|
||||||
],
|
],
|
||||||
"command": "git push",
|
"command": "git push",
|
||||||
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
||||||
|
@ -523,7 +523,7 @@ exports.level = {
|
||||||
"Ahora, si hacemos rebase antes de hacer push..."
|
"Ahora, si hacemos rebase antes de hacer push..."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Zas! Actualizamos nuestra representación local del remoto con `git fetch`, hacemos rebase de nuestro trabajo para reflejar los nuevos cambios del remoto, y después los subimos con `git push`"
|
"¡Zas! Actualizamos nuestra representación local del remoto con `git fetch`, hacemos rebase de nuestro trabajo para reflejar los nuevos cambios del remoto, y después los subimos con `git push`."
|
||||||
],
|
],
|
||||||
"command": "git fetch; git rebase o/master; git push",
|
"command": "git fetch; git rebase o/master; git push",
|
||||||
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
||||||
|
@ -548,7 +548,7 @@ exports.level = {
|
||||||
"Si en lugar de hacer rebase hacemos un merge..."
|
"Si en lugar de hacer rebase hacemos un merge..."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Zas! Actualizamos nuestra representación local del remoto usando `git fetch`, *mergeamos* el nuevo trabajo junto con el nuestro (para reflejar los nuevos cambios en el remoto), y después los subimos usando `git push`"
|
"¡Zas! Actualizamos nuestra representación local del remoto usando `git fetch`, *mergeamos* el nuevo trabajo junto con el nuestro (para reflejar los nuevos cambios en el remoto), y después los subimos usando `git push`."
|
||||||
],
|
],
|
||||||
"command": "git fetch; git merge o/master; git push",
|
"command": "git fetch; git merge o/master; git push",
|
||||||
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
||||||
|
@ -640,10 +640,10 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Chega de conversa! Vejamos essa situação na prática"
|
"Chega de conversa! Vejamos essa situação na prática."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Viu? Nada aconteceu porque o comando falhou. O `git push` falha porque o commit mais recente (`C3`) é baseado no remoto em `C1`. Como o remoto foi atualizado no meio tempo, o Git rejeita o push"
|
"Viu? Nada aconteceu porque o comando falhou. O `git push` falha porque o commit mais recente (`C3`) é baseado no remoto em `C1`. Como o remoto foi atualizado no meio tempo, o Git rejeita o push."
|
||||||
],
|
],
|
||||||
"command": "git push",
|
"command": "git push",
|
||||||
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
||||||
|
@ -666,7 +666,7 @@ exports.level = {
|
||||||
"Agora se nós fizermos um rebase antes do push..."
|
"Agora se nós fizermos um rebase antes do push..."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Boom! Nós atualizamos a representação local do repositório remoto com `git fetch`, fizemos rebase do nosso trabalho para refletir as novas mudanças no repositório remoto, e então enviamos nossas mudanças com `git push`"
|
"Boom! Nós atualizamos a representação local do repositório remoto com `git fetch`, fizemos rebase do nosso trabalho para refletir as novas mudanças no repositório remoto, e então enviamos nossas mudanças com `git push`."
|
||||||
],
|
],
|
||||||
"command": "git fetch; git rebase o/master; git push",
|
"command": "git fetch; git rebase o/master; git push",
|
||||||
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
||||||
|
@ -691,7 +691,7 @@ exports.level = {
|
||||||
"Agora se fizermos merge em vez de rebase ..."
|
"Agora se fizermos merge em vez de rebase ..."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Boom! Atualizamos nossa representação local do repositório remoto com `git fetch`, fizemos *merge* do novo trabalho com o nosso (para refletir as novas mudanças no repositório remoto), e então fizemos push deles com `git push`"
|
"Boom! Atualizamos nossa representação local do repositório remoto com `git fetch`, fizemos *merge* do novo trabalho com o nosso (para refletir as novas mudanças no repositório remoto), e então fizemos push deles com `git push`."
|
||||||
],
|
],
|
||||||
"command": "git fetch; git merge o/master; git push",
|
"command": "git fetch; git merge o/master; git push",
|
||||||
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
||||||
|
@ -726,7 +726,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"E agora com o `pull` normal"
|
"E agora com o `pull` normal."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"De novo, exatamente como antes!"
|
"De novo, exatamente como antes!"
|
||||||
|
@ -810,7 +810,7 @@ exports.level = {
|
||||||
"Agora, se facemos rebase antes de empurrar..."
|
"Agora, se facemos rebase antes de empurrar..."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Boom! Actualizamos a nosa representación local do remoto con `git fetch`, rebasamos o noso traballo para reflexar os novos cambios do remoto, e despois os empurramos con `git push`"
|
"¡Boom! Actualizamos a nosa representación local do remoto con `git fetch`, rebasamos o noso traballo para reflexar os novos cambios do remoto, e despois os empurramos con `git push`."
|
||||||
],
|
],
|
||||||
"command": "git fetch; git rebase o/master; git push",
|
"command": "git fetch; git rebase o/master; git push",
|
||||||
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
||||||
|
@ -835,7 +835,7 @@ exports.level = {
|
||||||
"Si no lugar de rebasar facemos un merge..."
|
"Si no lugar de rebasar facemos un merge..."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Boom! Actualizamos a nosa representación local do remoto usando `git fetch`, *mesturamos* ou *mergeamos* o novo traballo xunto co noso (para reflexar os novos cambios no remoto), e despois os empurramos empregando `git push`"
|
"¡Boom! Actualizamos a nosa representación local do remoto usando `git fetch`, *mesturamos* ou *mergeamos* o novo traballo xunto co noso (para reflexar os novos cambios no remoto), e despois os empurramos empregando `git push`."
|
||||||
],
|
],
|
||||||
"command": "git fetch; git merge o/master; git push",
|
"command": "git fetch; git merge o/master; git push",
|
||||||
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
||||||
|
@ -1319,7 +1319,7 @@ exports.level = {
|
||||||
"* Clone dein Repository",
|
"* Clone dein Repository",
|
||||||
"* Simuliere einen entfernten Commit mit `git fakeTeamwork`",
|
"* Simuliere einen entfernten Commit mit `git fakeTeamwork`",
|
||||||
"* Erzeuge einen lokalen Commit",
|
"* Erzeuge einen lokalen Commit",
|
||||||
"* Benutze *Rebase*, um deine Arbeit schließlich pushen zu können"
|
"* Benutze *Rebase*, um deine Arbeit schließlich pushen zu können."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1382,7 +1382,7 @@ exports.level = {
|
||||||
"Теперь, когда мы сперва перебазируемся прежде чем публиковать изменения..."
|
"Теперь, когда мы сперва перебазируемся прежде чем публиковать изменения..."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Опа! Мы только что обновили наш локальный образ удалённого репозитория средствами `git fetch`. Ещё мы перебазировали наши наработки, чтобы они отражали все изменения с удалённого репозитория, и опубликовали их с помощью `git push`"
|
"Опа! Мы только что обновили наш локальный образ удалённого репозитория средствами `git fetch`. Ещё мы перебазировали наши наработки, чтобы они отражали все изменения с удалённого репозитория, и опубликовали их с помощью `git push`."
|
||||||
],
|
],
|
||||||
"command": "git fetch; git rebase o/master; git push",
|
"command": "git fetch; git rebase o/master; git push",
|
||||||
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
||||||
|
@ -1407,7 +1407,7 @@ exports.level = {
|
||||||
"Таким образом, если мы объединим (merge) вместо перебазирования (rebase)..."
|
"Таким образом, если мы объединим (merge) вместо перебазирования (rebase)..."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Опа! Мы обновили наше локальное представление удалённого репозитория с помощью `git fetch`, *объединили* ваши новые наработки с нашими наработками (чтобы отразить изменения в удалённом репозитории) и затем опубликовали их с помощью `git push`"
|
"Опа! Мы обновили наше локальное представление удалённого репозитория с помощью `git fetch`, *объединили* ваши новые наработки с нашими наработками (чтобы отразить изменения в удалённом репозитории) и затем опубликовали их с помощью `git push`."
|
||||||
],
|
],
|
||||||
"command": "git fetch; git merge o/master; git push",
|
"command": "git fetch; git merge o/master; git push",
|
||||||
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
||||||
|
@ -1442,7 +1442,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"А теперь с обычным `pull`"
|
"А теперь с обычным `pull`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"И снова - результат такой же, как и ранее!"
|
"И снова - результат такой же, как и ранее!"
|
||||||
|
@ -1693,7 +1693,7 @@ exports.level = {
|
||||||
"Тепер ми зробимо merge замість rebase..."
|
"Тепер ми зробимо merge замість rebase..."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Ка-бум! Ми оновили наш локальний образ віддаленої гілки за допомогою `git fetch`, *змерджили* нові напрацювання з власними (щоб відобразити останні зміни у віддаленій гілці), й відіслали їх за допомогою `git push`"
|
"Ка-бум! Ми оновили наш локальний образ віддаленої гілки за допомогою `git fetch`, *змерджили* нові напрацювання з власними (щоб відобразити останні зміни у віддаленій гілці), й відіслали їх за допомогою `git push`."
|
||||||
],
|
],
|
||||||
"command": "git fetch; git merge o/master; git push",
|
"command": "git fetch; git merge o/master; git push",
|
||||||
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
||||||
|
@ -1728,7 +1728,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"А тепер просто з `pull`"
|
"А тепер просто з `pull`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Знову, так як і було!"
|
"Знову, так як і було!"
|
||||||
|
@ -1954,7 +1954,7 @@ exports.level = {
|
||||||
"Nào bây giờ trước push ta dùng rebase thì..."
|
"Nào bây giờ trước push ta dùng rebase thì..."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Bùùm! Ta đã cập nhật nhánh từ xa trong kho chứ cục bộ với `git fetch`, dịch chuyển thành quả của mình để phản ánh thay đổi mới của kho chứa từ xa, sau đó đẩy chúng lên với `git push`"
|
"Bùùm! Ta đã cập nhật nhánh từ xa trong kho chứ cục bộ với `git fetch`, dịch chuyển thành quả của mình để phản ánh thay đổi mới của kho chứa từ xa, sau đó đẩy chúng lên với `git push`."
|
||||||
],
|
],
|
||||||
"command": "git fetch; git rebase o/master; git push",
|
"command": "git fetch; git rebase o/master; git push",
|
||||||
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
||||||
|
@ -1979,7 +1979,7 @@ exports.level = {
|
||||||
"Giờ nếu ta dùng merge thay vày rebase thì..."
|
"Giờ nếu ta dùng merge thay vày rebase thì..."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Bùùm! Ta đã cập nhật đại diện nhánh từ xa tại kho chứa địa phương với `git fetch`, *hợp nhất* (*merge*) thành quả mới vào thành quả của ta (để phản ánh thay đổi ở nhánh từ xa), sau đó đẩy chúng lên với `git push`"
|
"Bùùm! Ta đã cập nhật đại diện nhánh từ xa tại kho chứa địa phương với `git fetch`, *hợp nhất* (*merge*) thành quả mới vào thành quả của ta (để phản ánh thay đổi ở nhánh từ xa), sau đó đẩy chúng lên với `git push`."
|
||||||
],
|
],
|
||||||
"command": "git fetch; git merge o/master; git push",
|
"command": "git fetch; git merge o/master; git push",
|
||||||
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
"beforeCommand": "git clone; git fakeTeamwork; git commit"
|
||||||
|
@ -2014,7 +2014,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Và giờ với lệnh `pull` thông thường"
|
"Và giờ với lệnh `pull` thông thường."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Lại một lần nữa, chính xác y hệt như trước!"
|
"Lại một lần nữa, chính xác y hệt như trước!"
|
||||||
|
|
|
@ -11,7 +11,7 @@ exports.level = {
|
||||||
"fr_FR": "Créer la branche feature à partir du master local, avant de la restaurer dans le même état que o/master",
|
"fr_FR": "Créer la branche feature à partir du master local, avant de la restaurer dans le même état que o/master",
|
||||||
"ko" : "로컬 저장소의 master 브랜치로부터 feature 브랜치를 만드세요. 그리고 o/master와 같아질 수 있도록 로컬 저장소의 master 브랜치를 reset 하세요.",
|
"ko" : "로컬 저장소의 master 브랜치로부터 feature 브랜치를 만드세요. 그리고 o/master와 같아질 수 있도록 로컬 저장소의 master 브랜치를 reset 하세요.",
|
||||||
"sl_SI": "Naredi feature branch iz lokalnega masterja preden ga ponastaviš, da bo enak kot origin master.",
|
"sl_SI": "Naredi feature branch iz lokalnega masterja preden ga ponastaviš, da bo enak kot origin master.",
|
||||||
"es_AR": "Crea la rama feature desde la rama master en local antes de restablecerlo para que sea el mismo que la rama master de origen"
|
"es_AR": "Crea la rama feature desde la rama master en local antes de restablecerlo para que sea el mismo que la rama master de origen."
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"en_US": "Locked Master",
|
"en_US": "Locked Master",
|
||||||
|
|
|
@ -62,7 +62,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Let's first see a `fetch` and a `merge` executed sequentially"
|
"Let's first see a `fetch` and a `merge` executed sequentially."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Boom -- we downloaded `C3` with a `fetch` and then merged in that work with `git merge o/master`. Now our `master` branch reflects the new work from the remote (in this case, named `origin`)"
|
"Boom -- we downloaded `C3` with a `fetch` and then merged in that work with `git merge o/master`. Now our `master` branch reflects the new work from the remote (in this case, named `origin`)"
|
||||||
|
@ -121,7 +121,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Voyons d'abord un `fetch` puis un `merge` exécutés séquentiellement"
|
"Voyons d'abord un `fetch` puis un `merge` exécutés séquentiellement."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Boum -- nous avons téléchargé `C3` avec un `fetch` et ensuite nous avons fusionné ce travail dans notre copie avec `git merge o/master`. Maintenant notre branche `master` reflète le nouveau travail du dépôt distant (dans ce cas, nommé `origin`)"
|
"Boum -- nous avons téléchargé `C3` avec un `fetch` et ensuite nous avons fusionné ce travail dans notre copie avec `git merge o/master`. Maintenant notre branche `master` reflète le nouveau travail du dépôt distant (dans ce cas, nommé `origin`)"
|
||||||
|
@ -180,7 +180,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Veamos primero un `fetch` y un `merge` ejecutados secuencialmente"
|
"Veamos primero un `fetch` y un `merge` ejecutados secuencialmente."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Boom: descargamos `C3` con un `fetch` y luego lo mergeamos con `git merge o/master`. Ahora nuestra rama `master` refleja el nuevo trabajo del remoto (en este caso, llamado `origin`)"
|
"Boom: descargamos `C3` con un `fetch` y luego lo mergeamos con `git merge o/master`. Ahora nuestra rama `master` refleja el nuevo trabajo del remoto (en este caso, llamado `origin`)"
|
||||||
|
@ -239,7 +239,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Veamos primero un `fetch` y un `merge` ejecutados secuencialmente"
|
"Veamos primero un `fetch` y un `merge` ejecutados secuencialmente."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Zas: descargamos `C3` con un `fetch` y luego lo mergeamos con `git merge o/master`. Ahora nuestra rama `master` refleja el nuevo trabajo del remoto (en este caso, llamado `origin`)"
|
"Zas: descargamos `C3` con un `fetch` y luego lo mergeamos con `git merge o/master`. Ahora nuestra rama `master` refleja el nuevo trabajo del remoto (en este caso, llamado `origin`)"
|
||||||
|
@ -298,7 +298,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Vamos primeiro ver um `fetch` e um `merge` executados sequencialmente"
|
"Vamos primeiro ver um `fetch` e um `merge` executados sequencialmente."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Boom -- nós baixamos o `C3` com um `fetch` e então fizemos um merge desse trabalho usando `git merge o/master`. Agora o nosso ramo `master` reflete o trabalho realizado no repositório remoto (neste caso, chamado de `origin`)"
|
"Boom -- nós baixamos o `C3` com um `fetch` e então fizemos um merge desse trabalho usando `git merge o/master`. Agora o nosso ramo `master` reflete o trabalho realizado no repositório remoto (neste caso, chamado de `origin`)"
|
||||||
|
@ -357,7 +357,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Vexamos primeiro un `fetch` e un `merge` executados secuencialmente"
|
"Vexamos primeiro un `fetch` e un `merge` executados secuencialmente."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Boom: descargamos `C3` cun `fetch` e logo mesturámolos con `git merge o/master`. Agora a nosa rama `master` reflexa o novo traballo do remoto (neste caso, chamado `origin`)"
|
"Boom: descargamos `C3` cun `fetch` e logo mesturámolos con `git merge o/master`. Agora a nosa rama `master` reflexa o novo traballo do remoto (neste caso, chamado `origin`)"
|
||||||
|
@ -711,7 +711,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Спершу виконаймо по черзі `fetch`, а потім `merge`"
|
"Спершу виконаймо по черзі `fetch`, а потім `merge`."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Ка-бум -- ми звантажили `C3` за допомогою `fetch` і потім змерджили їх, використавши `git merge o/master`. Тепер наша гілка `master` відповідає гілці з віддаленого сховища (в цьому випадку, з назвою `origin`)"
|
"Ка-бум -- ми звантажили `C3` за допомогою `fetch` і потім змерджили їх, використавши `git merge o/master`. Тепер наша гілка `master` відповідає гілці з віддаленого сховища (в цьому випадку, з назвою `origin`)"
|
||||||
|
@ -829,7 +829,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Trước tiên hãy xem quá trình `nạp` và `hợp nhất` được thực hiện một cách tuần tự"
|
"Trước tiên hãy xem quá trình `nạp` và `hợp nhất` được thực hiện một cách tuần tự."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Bùùm -- ta tải xuống commit `C3` với lệnh `git fetch` rồi sau đó hợp nhất nó với lệnh `git merge o/master`. Giờ thì nhánh `master` đã phản ánh trạng thái mới từ kho chứa từ xa (trong trường hợp này là `origin`)"
|
"Bùùm -- ta tải xuống commit `C3` với lệnh `git fetch` rồi sau đó hợp nhất nó với lệnh `git merge o/master`. Giờ thì nhánh `master` đã phản ánh trạng thái mới từ kho chứa từ xa (trong trường hợp này là `origin`)"
|
||||||
|
|
|
@ -79,7 +79,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"If we specify the place to fetch, everything happens as before with fetch but we merge in whatever was just fetched"
|
"If we specify the place to fetch, everything happens as before with fetch but we merge in whatever was just fetched."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"See! by specifying `master` we downloaded commits onto `o/master` just as normal. Then we merged `o/master` to our currently checked out location which is *not* the local branch `master`. For this reason it can actually make sense to run git pull multiple times (with the same args) from different locations in order to update multiple branches."
|
"See! by specifying `master` we downloaded commits onto `o/master` just as normal. Then we merged `o/master` to our currently checked out location which is *not* the local branch `master`. For this reason it can actually make sense to run git pull multiple times (with the same args) from different locations in order to update multiple branches."
|
||||||
|
@ -227,7 +227,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Si especificamos el lugar del que hacer fetch, todo ocurre como antes, pero sólo mergeamos lo que se fetcheó"
|
"Si especificamos el lugar del que hacer fetch, todo ocurre como antes, pero sólo mergeamos lo que se fetcheó."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Ves! Especificando `master` bajamos los commits a `o/master` como siempre. Después mergeamos `o/master` a nuestra rama actual, *sin importar* qué había en nuestra copia de trabajo."
|
"¡Ves! Especificando `master` bajamos los commits a `o/master` como siempre. Después mergeamos `o/master` a nuestra rama actual, *sin importar* qué había en nuestra copia de trabajo."
|
||||||
|
@ -301,7 +301,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Si especificamos el lugar desde donde hacer fetch, todo ocurre como antes, pero sólo mergeamos lo que se fetcheó"
|
"Si especificamos el lugar desde donde hacer fetch, todo ocurre como antes, pero sólo mergeamos lo que se fetcheó."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Ves! Especificando `master` descargamos los commits a `o/master` como siempre. Después mergeamos `o/master` a nuestra rama actual, *sin importar* qué había en nuestra copia de trabajo."
|
"¡Ves! Especificando `master` descargamos los commits a `o/master` como siempre. Después mergeamos `o/master` a nuestra rama actual, *sin importar* qué había en nuestra copia de trabajo."
|
||||||
|
@ -375,7 +375,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Se especificarmos o lugar onde fazer o fetch, tudo acontece como antes com o fetch, mas fazemos o merge naquilo que acabou de ser baixado"
|
"Se especificarmos o lugar onde fazer o fetch, tudo acontece como antes com o fetch, mas fazemos o merge naquilo que acabou de ser baixado."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Veja! Especificando `master` nós baixamos commits em `o/master` como sempre. Então fizemos um merge de `o/master` com o lugar onde estamos, *independente* daquilo que está atualmente em checkout."
|
"Veja! Especificando `master` nós baixamos commits em `o/master` como sempre. Então fizemos um merge de `o/master` com o lugar onde estamos, *independente* daquilo que está atualmente em checkout."
|
||||||
|
@ -449,7 +449,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Se especificamos o lugar do que facer o fetch, todo ocorre coma antes, pero só mesturamos o que se descargou"
|
"Se especificamos o lugar do que facer o fetch, todo ocorre coma antes, pero só mesturamos o que se descargou."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"¡Ves! Indicando `master` baixamos os commits á `o/master` coma sempre. Despois mesturamos `o/master` á nosa rama actual, *sen importar* qué tiñamos na nos copia de traballo."
|
"¡Ves! Indicando `master` baixamos os commits á `o/master` coma sempre. Despois mesturamos `o/master` á nosa rama actual, *sen importar* qué tiñamos na nos copia de traballo."
|
||||||
|
@ -745,7 +745,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Здесь сначала выполнится fetch с аргументом указанным к pull, а merge выполняется с теми изменениями, которые будут скачаны командой fetch"
|
"Здесь сначала выполнится fetch с аргументом указанным к pull, а merge выполняется с теми изменениями, которые будут скачаны командой fetch."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Как видно, мы указали `master`, поэтому как обычно все обновления притянулись на ветку `o/master`. Затем мы слили (merge) обновленную ветку `o/master` с веткой, на которой мы находимся."
|
"Как видно, мы указали `master`, поэтому как обычно все обновления притянулись на ветку `o/master`. Затем мы слили (merge) обновленную ветку `o/master` с веткой, на которой мы находимся."
|
||||||
|
|
|
@ -439,7 +439,7 @@ exports.level = {
|
||||||
"¿E qué hai se o destino ó que queres empurrar non existise? ¡Non pasa nada! Sinxelamente dalle un nome á rama e git vaise encargar de crealo no remoto."
|
"¿E qué hai se o destino ó que queres empurrar non existise? ¡Non pasa nada! Sinxelamente dalle un nome á rama e git vaise encargar de crealo no remoto."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Xenial, sinxelamente tira para adiante"
|
"Xenial, sinxelamente tira para adiante."
|
||||||
],
|
],
|
||||||
"command": "git push origin master:newBranch",
|
"command": "git push origin master:newBranch",
|
||||||
"beforeCommand": "git clone; git commit"
|
"beforeCommand": "git clone; git commit"
|
||||||
|
|
|
@ -79,7 +79,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Lets check out a remote branch and see what happens"
|
"Lets check out a remote branch and see what happens."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"As you can see, git put us into detached `HEAD` mode and then did not update `o/master` when we added a new commit. This is because `o/master` will only update when the remote updates."
|
"As you can see, git put us into detached `HEAD` mode and then did not update `o/master` when we added a new commit. This is because `o/master` will only update when the remote updates."
|
||||||
|
@ -140,7 +140,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Rendons-nous sur une branche et regardons ce qui se passe"
|
"Rendons-nous sur une branche et regardons ce qui se passe."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Comme vous pouvez le voir, git nous a mis dans le mode \"detached\" (cf. `HEAD`) puis n'a pas mis à jour `o/master` quand nous avons ajouté un nouveau commit. C'est parce que `o/master` va se mettre à jour uniquement quand le dépôt distant sera mis à jour."
|
"Comme vous pouvez le voir, git nous a mis dans le mode \"detached\" (cf. `HEAD`) puis n'a pas mis à jour `o/master` quand nous avons ajouté un nouveau commit. C'est parce que `o/master` va se mettre à jour uniquement quand le dépôt distant sera mis à jour."
|
||||||
|
@ -201,7 +201,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Checkouteemos una rama remota a ver qué pasa"
|
"Checkouteemos una rama remota a ver qué pasa."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Como ves, git nos puso en el modo detached `HEAD` y no actualizó `o/master` cuando creamos un nuevo commit. Esto es porque `o/master` sólo va a actualizarse cuando el remoto se actualice."
|
"Como ves, git nos puso en el modo detached `HEAD` y no actualizó `o/master` cuando creamos un nuevo commit. Esto es porque `o/master` sólo va a actualizarse cuando el remoto se actualice."
|
||||||
|
@ -262,7 +262,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Hagamos checkout sobre una rama remota a ver qué pasa"
|
"Hagamos checkout sobre una rama remota a ver qué pasa."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Como ves, git nos puso en el modo detached `HEAD` y no actualizó `o/master` cuando creamos un nuevo commit. Esto ocurre porque `o/master` sólo va a actualizarse cuando el remoto se actualice."
|
"Como ves, git nos puso en el modo detached `HEAD` y no actualizó `o/master` cuando creamos un nuevo commit. Esto ocurre porque `o/master` sólo va a actualizarse cuando el remoto se actualice."
|
||||||
|
@ -323,7 +323,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Vamos fazer checkout de um ramo remoto e ver o que acontece"
|
"Vamos fazer checkout de um ramo remoto e ver o que acontece."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Como você pode ver, o Git nos colocou no modo \"Detached HEAD\", e não atualizou o `o/master` quando adicionamos um novo commit. Isso é porque o `o/master` só será atualizado quando o repositório remoto for atualizado."
|
"Como você pode ver, o Git nos colocou no modo \"Detached HEAD\", e não atualizou o `o/master` quando adicionamos um novo commit. Isso é porque o `o/master` só será atualizado quando o repositório remoto for atualizado."
|
||||||
|
@ -384,7 +384,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Fagamos checkout a unha rama remota a ver qué pasa"
|
"Fagamos checkout a unha rama remota a ver qué pasa."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Como ves, git púxonos no modo detached `HEAD` e non actualizou `o/mater` cando creamos un novo commit. Esto é porque `o/mater` só vai actualizarse cando o remoto se actualice."
|
"Como ves, git púxonos no modo detached `HEAD` e non actualizou `o/mater` cando creamos un novo commit. Esto é porque `o/mater` só vai actualizarse cando o remoto se actualice."
|
||||||
|
@ -506,7 +506,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Checken wir mal einen Remote Branch aus und schauen was passiert"
|
"Checken wir mal einen Remote Branch aus und schauen was passiert."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Wie du siehst setzt uns Git in den \"Detached `HEAD`\" Modus und aktualisiert dann nach dem Commit nicht den Branch `o/master`. Das liegt daran, dass der Remote Branch nur aktualisiert wird, wenn sich der entsprechende Branch auf dem Remote verändert."
|
"Wie du siehst setzt uns Git in den \"Detached `HEAD`\" Modus und aktualisiert dann nach dem Commit nicht den Branch `o/master`. Das liegt daran, dass der Remote Branch nur aktualisiert wird, wenn sich der entsprechende Branch auf dem Remote verändert."
|
||||||
|
@ -872,7 +872,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Hãy thử chuyển sang nhánh từ xa xem điểu gì xảy ra"
|
"Hãy thử chuyển sang nhánh từ xa xem điểu gì xảy ra."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Như bạn thấy, git đưa ta vào trạng thái `HEAD` và không cập nhật nhánh `o/master` khi ta thêm một commit. Đó là bởi vì `o/master` chỉ cập nhật khi kho chứa từ xa được cập nhật."
|
"Như bạn thấy, git đưa ta vào trạng thái `HEAD` và không cập nhật nhánh `o/master` khi ta thêm một commit. Đó là bởi vì `o/master` chỉ cập nhật khi kho chứa từ xa được cập nhật."
|
||||||
|
@ -933,7 +933,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Checkoutajmo oddaljen branch in poglejmo kaj se zgodi"
|
"Checkoutajmo oddaljen branch in poglejmo kaj se zgodi."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Kot lahko vidiš, nas git postavi v stanje ločenega `HEAD-a` in ne posodobi `o/master`, ko dodamo nov commit. To je zato, ker se bo `o/master` posodobil šele, ko se bo posodobil oddaljen repo."
|
"Kot lahko vidiš, nas git postavi v stanje ločenega `HEAD-a` in ne posodobi `o/master`, ko dodamo nov commit. To je zato, ker se bo `o/master` posodobil šele, ko se bo posodobil oddaljen repo."
|
||||||
|
|
|
@ -76,7 +76,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Finally, fetching \"nothing\" to a place locally actually makes a new branch"
|
"Finally, fetching \"nothing\" to a place locally actually makes a new branch."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Very odd / bizarre, but whatever. That's git for you!"
|
"Very odd / bizarre, but whatever. That's git for you!"
|
||||||
|
@ -182,7 +182,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Finalmente, fetchear \"nada\" a un lugar local en realidad crea una nueva rama"
|
"Finalmente, fetchear \"nada\" a un lugar local en realidad crea una nueva rama."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Bastante bizarro, pero, meh, da igual. Así es git."
|
"Bastante bizarro, pero, meh, da igual. Así es git."
|
||||||
|
@ -235,7 +235,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Finalmente, hacer fetch de \"nada\" a un lugar local en realidad crea una nueva rama"
|
"Finalmente, hacer fetch de \"nada\" a un lugar local en realidad crea una nueva rama."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Bastante extraño, pero bueno, da igual. Así es git."
|
"Bastante extraño, pero bueno, da igual. Así es git."
|
||||||
|
@ -288,7 +288,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Finalmente, fazer um fetch de \"coisa nenhuma\" para uma referência local cria um novo ramo"
|
"Finalmente, fazer um fetch de \"coisa nenhuma\" para uma referência local cria um novo ramo."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Bastante estranho / bizarro, mas de qualquer forma. É assim que o Git é!"
|
"Bastante estranho / bizarro, mas de qualquer forma. É assim que o Git é!"
|
||||||
|
@ -341,7 +341,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Finalmente, descargar a \"nada\" a un lugar local na realidade crea unha nova rama"
|
"Finalmente, descargar a \"nada\" a un lugar local na realidade crea unha nova rama."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Bastante bizarro, pero, meh, da igual. Así é git."
|
"Bastante bizarro, pero, meh, da igual. Así é git."
|
||||||
|
@ -765,7 +765,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"In končno, fetchanje \"ničesar\" lokalno dejansko naredi nov branch"
|
"In končno, fetchanje \"ničesar\" lokalno dejansko naredi nov branch."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Zelo čudno / bizarno, ampak kakorkoli. Tak je git!"
|
"Zelo čudno / bizarno, ampak kakorkoli. Tak je git!"
|
||||||
|
|
|
@ -106,10 +106,10 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"This also applies for git push"
|
"This also applies for git push."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Boom. We pushed our work to the `master` on the remote even though our branch was named something totally different"
|
"Boom. We pushed our work to the `master` on the remote even though our branch was named something totally different."
|
||||||
],
|
],
|
||||||
"command": "git checkout -b foo o/master; git commit; git push",
|
"command": "git checkout -b foo o/master; git commit; git push",
|
||||||
"beforeCommand": "git clone"
|
"beforeCommand": "git clone"
|
||||||
|
@ -344,10 +344,10 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Lo mismo aplica para git push"
|
"Lo mismo aplica para git push."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Boom. Pusheamos nuestro trabajo a la rama `master` del remoto incluso cuando nuestra rama se llamaba totalmente distinto"
|
"Boom. Pusheamos nuestro trabajo a la rama `master` del remoto incluso cuando nuestra rama se llamaba totalmente distinto."
|
||||||
],
|
],
|
||||||
"command": "git checkout -b foo o/master; git commit; git push",
|
"command": "git checkout -b foo o/master; git commit; git push",
|
||||||
"beforeCommand": "git clone"
|
"beforeCommand": "git clone"
|
||||||
|
@ -464,10 +464,10 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Lo mismo aplica para git push"
|
"Lo mismo aplica para git push."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Zas. Hacemos push de nuestro trabajo a la rama `master` del remoto incluso cuando nuestra rama se llamaba totalmente distinto"
|
"Zas. Hacemos push de nuestro trabajo a la rama `master` del remoto incluso cuando nuestra rama se llamaba totalmente distinto."
|
||||||
],
|
],
|
||||||
"command": "git checkout -b foo o/master; git commit; git push",
|
"command": "git checkout -b foo o/master; git commit; git push",
|
||||||
"beforeCommand": "git clone"
|
"beforeCommand": "git clone"
|
||||||
|
@ -582,10 +582,10 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Isso também se aplica ao git push"
|
"Isso também se aplica ao git push."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Boom. Nós enviamos nosso trabalho para o ramo remoto `master` ainda que nosso ramo local tivesse um nome completamente diferente"
|
"Boom. Nós enviamos nosso trabalho para o ramo remoto `master` ainda que nosso ramo local tivesse um nome completamente diferente."
|
||||||
],
|
],
|
||||||
"command": "git checkout -b foo o/master; git commit; git push",
|
"command": "git checkout -b foo o/master; git commit; git push",
|
||||||
"beforeCommand": "git clone"
|
"beforeCommand": "git clone"
|
||||||
|
@ -702,10 +702,10 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"O mismo aplica para git push"
|
"O mismo aplica para git push."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Boom. Empurramos o noso traballo á rama `master` do remoto incluso cando a nosa rama se chamaba totalmete distinto"
|
"Boom. Empurramos o noso traballo á rama `master` do remoto incluso cando a nosa rama se chamaba totalmete distinto."
|
||||||
],
|
],
|
||||||
"command": "git checkout -b foo o/master; git commit; git push",
|
"command": "git checkout -b foo o/master; git commit; git push",
|
||||||
"beforeCommand": "git clone"
|
"beforeCommand": "git clone"
|
||||||
|
@ -1171,7 +1171,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Это работает также и для git push"
|
"Это работает также и для git push."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Оп! Мы закачали наши наработки на ветку `master` нашего удалённого репозитория. При том, что наша локальная ветка называется абсолютно по-другому."
|
"Оп! Мы закачали наши наработки на ветку `master` нашего удалённого репозитория. При том, что наша локальная ветка называется абсолютно по-другому."
|
||||||
|
@ -1525,7 +1525,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Це також справджується і для git push"
|
"Це також справджується і для git push."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Ка-бум!. Ми запушили наші зміни у віддалений `master`, незважаючи на те, що локальна гілка називалась зовсім по-іншому."
|
"Ка-бум!. Ми запушили наші зміни у віддалений `master`, незважаючи на те, що локальна гілка називалась зовсім по-іншому."
|
||||||
|
@ -1643,7 +1643,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"Điểu này cũng được áp dụng cho lệnh git push"
|
"Điểu này cũng được áp dụng cho lệnh git push."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Bùùm. Ta đã đẩy thành quả lên nhánh `master` ở kho chứa tù xa mặc dù nhánh của ta có tên hoàn toàn khác biệt"
|
"Bùùm. Ta đã đẩy thành quả lên nhánh `master` ở kho chứa tù xa mặc dù nhánh của ta có tên hoàn toàn khác biệt"
|
||||||
|
@ -1761,7 +1761,7 @@ exports.level = {
|
||||||
"type": "GitDemonstrationView",
|
"type": "GitDemonstrationView",
|
||||||
"options": {
|
"options": {
|
||||||
"beforeMarkdowns": [
|
"beforeMarkdowns": [
|
||||||
"To velja tudi za git push"
|
"To velja tudi za git push."
|
||||||
],
|
],
|
||||||
"afterMarkdowns": [
|
"afterMarkdowns": [
|
||||||
"Boom. Naše delo smo naložili na `master` na oddaljenem repotu, čeprav je ime našega brancha nekaj povsem drugega."
|
"Boom. Naše delo smo naložili na `master` na oddaljenem repotu, čeprav je ime našega brancha nekaj povsem drugega."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue