AnkiLab
Sign in

Filter by tags:

142 cards matching

Showing cards 21-40 of 142
Front
can 2 people successively push to the same server?
lang
git
Back
No, the second one must first pull and incorporate
Front
display all the tags
lang
git
Back
git tag
Front
can you tag past commits?
lang
git
Back
Yes
Front
how many parents can a commit have?
lang
git
Back
0 (first commit)
1 (regular commit)
2 or more (merge between 2 or more branches)
Front
what is master?
lang
git
Back
the default name of the main branch
Front
what is HEAD?
lang
git
Back
a pointer to the current branch

Front
what is a branch in memory?
lang
git
Back
A pointer to a commit

Front
create my_branch
lang
git
Back
git branch my_branch
Front
after git create my_branch, on which branch are you?
lang
git
Back
Still the same as before, you need to switch
Front
switch to my_branch
lang
git
Back
git checkout my_branch
Front
what happens to your working directory when you switch to a new branch?
lang
git
Back
It's modified how it should be
Front
merge my_branch into the master branch
lang
git
Back
git checkout master
git merge my_branch
Front
merging: what is a fast-forward?
lang
git
Back
when the commit on one branch is a descendant of the commit on the other branch.
No divergent work to merge, git only has to move the ancient branch to the recent branch (pointers)

(e.g.
)
Front
delete my_branch
lang
git
Back
git branch -d my_branch
Front
what happens in terms of commits when you merge 2 branches?
lang
git
Back
git creates a merge commit that has 2 parents
Front
show your current branches (but not the remote ones)
lang
git
Back
git branch
Front
know which branch you're in
lang
git
Back
git branch

Then it's the one preceded by a star
Front
what's a remote branch? (that's here locally)
lang
git
Back
A branch that reminds you where the branches on your remote repositories were the last time you connected to them
Front
checkout the master branch as it was when you last communicated with the server (remote name: origin)
lang
git
Back
git checkout origin/master
Front
can you move remote branches as you can move other branches?
lang
git
Back
No of course
Showing cards 21-40 of 142