Practice quiz: branching and merging

Ace your homework & exams now with Quizwiz!

How do we display a summarized view of the commit history for a repo, showing one line per commit?

git log --graph --oneline The commandgit log --graph --oneline shows a summarized view of the commit history for a repo.

What command would we use to throw away a merge, and start over?

git merge --abort If there are merge conflicts, the --abort flag can be used to abort the merge action.

When we merge two branches, one of two algorithms is used. If the branches have diverged, which algorithm is used?

three-way merge A three-way-merge occurs when the two commits have diverged previously, and a new commit is created.


Related study sets

Anatomy and Physiology Chapter 1 Atlas A

View Set

AWS Cloud Practitioner Quiz - Udemy course credit to...

View Set

U.S. History: Unit 4 Civil War Begins

View Set

Peds ATI 2019 B, Peds- ATI Practice Exam A

View Set

2-14 Unit 23: Florida Laws, Rules, and Regulations

View Set