¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

Spring Development Training 2017: week 5

Stefcho Stefchov 9 preguntas

Hacer el test

Preguntas del test (9)

  1. 1Git is a distributed version control system created to manage large source code repositories among a large number of developers.
    1. AVerdadero
    2. BFalso
  2. 2With Git, while it is a distributed system, you still must push to the repository from which you pulled.
    1. AVerdadero
    2. BFalso
  3. 3You are the only developer that will be working on a new feature. The master branch, and develop branch will eventually need this feature. Select the best course of action for how to begin working on this feature.
    1. Acheckout develop, branch feature, make your edits, commit
    2. Bcheckout master, make your edits, commit, push
    3. Ccheckout develop, make your edits, commit, push
    4. Dcheckout master, branch feature, make your edits, commit
  4. 4You can avoid many rebasing problems by remembering to never
    - rebase after pushing a branch
    - rebase after commits use your branch
    - rebase after pulling someone else's branch
    1. AVerdadero
    2. BFalso
  5. 5You wish to exclude certain files from git which you do not want to check into the project. The best option for managing this is:
    1. Aedit the .gitignore file to create an exclusion list matching these files.
    2. Bedit the .ignore file to enter a regular expression to match these files.
    3. CThe entire folder is always committed to the project so you should never commit them in the first place.
    4. DGit is smart enough to ignore the most common environment files that should not be committed.
  6. 6If you are still working on a feature in a "feature" branch, but need to work on bug fix on master what should you do?
    1. Acommit, push, checkout master
    2. Bcommit, merge feature, checkout master
    3. Ccommit, push, merge master
    4. Dstash, merge master
    5. Ereset, checkout master
  7. 7Given the commit history to the left, suppose you are ready to move the feature back into master, what is the best way to do this?Imagen de la pregunta 7
    1. AMerge
    2. BRebase
    3. CStash push, checkout master, stash pop, commit
    4. DYou should not be making bug fixes on master
  8. 8Given the commit history to the left, suppose you want to move other peoples changes to master onto your feature branch, what is the best way to do this?Imagen de la pregunta 8
    1. AMerge
    2. BRebase
    3. CStash push, checkout master, stash pop, commit
    4. DYou cannot merge or rebase master in this scenario.
  9. 9Given the scenario to the left. You wish to undo the last 2 commits on your hotfix branch and discard their history. What Git command should you use.Imagen de la pregunta 9
    1. Arollback
    2. Brevert
    3. Creset
    4. Dcheckout

Información

Descripción
Test your understanding of Git
Idioma
English
Visitas
54
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?