Git branching and merging Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

How do stash untracked files?

A

git stash save –inlclude-untracked

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do you add a new tag with a tagname and a description?

A

git tag -a -m “”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do you checkout a tag?

A

git checkout

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

how do you clear all your stashes?

A

git stash clear

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you download remote tags?

A

git fetch –tags

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do you get your (most recent) stashed changes back?

A

git stash apply

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How do you list all your staches?

A

git stash list

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How do you push new tags to remote?

A

git push –tags

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How do you show all the tags?

A

git tag

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How do you show the file diff of a specific stash?

A

git stash show –patch stash@{}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How do you stash your work in progress without stashing the staging area?

A

git stash save –keep-index

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How do you temporarily ‘stash’ your work in progress to use later and add a stash message?

A

git stash save “”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How do you temporarily ‘stash’ your work in progress to use later?

A

git stash save

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How do you create a branch?

A

git branch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How do you create- and check out that branch?

A

git checkout -b

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How do you delete a local branch?

A

git branch -d