-
Notifications
You must be signed in to change notification settings - Fork 0
/
git_07_InteractiveRebase.yaml
23 lines (21 loc) · 1.1 KB
/
git_07_InteractiveRebase.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
categoryId: 8269 # CATEGORY NAME
name: Interactive rebase
questions:
- description: Is there a possibility to rewrite the commit history?
choices:
- No, there is none
- Yes, the only way is by using the interactive rebase
- Yes, interactive rebase can be used
- Yes, by pulling a commit, do some changes and then push the changes with a new commit message
hint:
explanation: Interactive rebase is the standard way to change the local history before sharing. This is useful as it allows the user to cleanup or improve the history before sharing with colleagues.
correctChoice: 2
- description: What can be achieved with the interactive rebase?
choices:
- Several commits can be combined into one commit, reordered or skipped and the commit message can be edited
- The commit messages of all pushed commits can be changed
- The repository can be set to its last state
-
hint:
explanation: This is useful as it allows the user to rewrite the commit history (cleaning it up) before pushing the changes to a remote repository.
correctChoice: 0