Template và fork

Template Fork
Commit history Starts with a single commit Includes entire commit history of the parent repository
Do commit to it appear in your contribution graph? Yes No
Purpose To start a new project quickly A temporary way to contribute code to an existing project
  • A new fork includes the entire commit history of the parent repository, while a repository created from a template starts with a single commit.
  • Commits to a fork don’t appear in your contributions graph, while commits to a repository created from a template do appear in your contribution graph.
  • A fork can be a temporary way to contribute code to an existing project, while creating a repository from a template starts a new project quickly.

Cập nhật lần cuối : 30 tháng 6, 2024
Tạo : 12 tháng 10, 2023