Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
15 Cards in this Set
- Front
- Back
What is HEAD in git?
|
A pointer to the branch you're currently working on.
:http://git-scm.com/book/en/Git-Branching-What-a-Branch-Is |
|
What is a branch in git?
|
A lightweight movable pointer to a particular commit.
:http://git-scm.com/book/en/Git-Branching-What-a-Branch-Is |
|
What is 'master' in git?
|
The default branch.
:http://git-scm.com/book/en/Git-Branching-What-a-Branch-Is |
|
What does 'git branch blah' do?
|
Creates a new branch pointer 'blah' pointing to the same commit you're currently working on.
:http://git-scm.com/book/en/Git-Branching-What-a-Branch-Is |
|
How to switch to an existing branch in git?
|
git checkout <branch name>
:http://git-scm.com/book/en/Git-Branching-What-a-Branch-Is |
|
How to create and switch to a new branch in one fell swoop?
|
git checkout -b new-branch-name
:http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging |
|
What is the naming convention for Play controllers?
|
Plural of a model entity, e.g. Products.
:play-31 |
|
In Play, each controller is a _ scala object that defines one or more _.
|
singleton, actions
:play-31 |
|
A Play controller doesn't have any _.
|
state
:play-31 |
|
How to represent time intervals in java?
|
TimeUnit
|
|
How to sleep for a specified time interval in java?
|
TimeUnit.sleep
|
|
What do you call the 'archetype' and 'generate' parts of the command?:
mvn archetype:generate |
plugin and goal
|
|
What do you call the 'package' part of the command?:
mvn package |
phase
|
|
What phases lead up to 'package' in maven?
|
validate
generate-sources process-sources generate-resources process-resources compile |
|
What maven command is used to package a project and put it into your local repository?
|
mvn install
|