Valid 200-901 Dumps shared by ExamDiscuss.com for Helping Passing 200-901 Exam! ExamDiscuss.com now offer the newest 200-901 exam dumps, the ExamDiscuss.com 200-901 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com 200-901 dumps with Test Engine here:
A developer is working on a new feature in a branch named 'newfeat123456789' and the current working primary branch is named 'prim987654321'. The developer requires a merge commit during a fast forward merge for record-keeping purposes. Which Git command must be used?
Correct Answer: A
The --no-ff option in the git merge command ensures that a merge commit is always created, even when a fast-forward merge is possible. This is useful for keeping a clear history of feature branches being merged into the main branch. * Fast Forward Merge: By default, Git performs a fast-forward merge if there are no diverging changes. This can result in a linear commit history without a separate merge commit. * Using --no-ff: The --no-ff option forces Git to create a merge commit, preserving the context that a feature branch was merged into the main branch, which is crucial for record-keeping and audit trails. References: * Git Merge Documentation: Git Merge