nerdexam
Microsoft

GH-900 · Question #82

While maintaining the gist history, which of the following is the most efficient way to create a public gist based on another user's gist?

The correct answer is A. Fork the gist. Forking a gist creates your own copy of another user's gist while preserving the original history and maintaining a link to the source - making it the most efficient method that also maintains history. Option B (manually copying content) does not preserve history or the source…

Introduction to Git and GitHub

Question

While maintaining the gist history, which of the following is the most efficient way to create a public gist based on another user's gist?

Options

  • AFork the gist.
  • BCreate a new gist and copy the content from the existing gist.
  • CClone the gist.
  • DRequest to be added to the existing gist.

How the community answered

(60 responses)
  • A
    83% (50)
  • B
    2% (1)
  • C
    10% (6)
  • D
    5% (3)

Explanation

Forking a gist creates your own copy of another user's gist while preserving the original history and maintaining a link to the source - making it the most efficient method that also maintains history. Option B (manually copying content) does not preserve history or the source link. Option C (cloning) only makes a local copy without creating a new public gist. Option D is not a valid gist feature.

Topics

#Gists#Forking#GitHub Features#Version History

Community Discussion

No community discussion yet for this question.

Full GH-900 Practice