GitHub Terminology

314 단어·2 분·원문(.md)

GitHub #

  • A source code management service for software development projects

Essential Git Terminology #


Local Repository #

  • A repository is a place where files or directories are stored.
  • A repository on your own computer is called a local repository.

Remote Repository #

  • A repository located on a server or network is called a remote repository.
  • This typically involves performing work in a local repository and then saving the results to a remote repository.

init , clone #

  • git init : A command to initialize a Git repository to manage source code files with Git.
  • git clone : A command used to clone a remote repository to your local machine when participating in the development of an open-source project or an existing project on GitHub.

branch , commit #

  • branch : When a Git repository is created, a main branch is typically generated. Branches are used to add features or perform maintenance on the main branch while keeping its source code intact.
  • commit : Signifies the confirmation of a source code update. The state of the code at the moment of confirmation is saved to the Git repository along with a commit message. Changes are reflected in the local repository but not yet in the remote repository.

pull, push #

  • pull : Reflecting the contents of a remote repository into the local repository (fetch + merge).
  • push : Uploading commits to the remote repository, i.e., uploading from the local repository to the remote repository.

Rebase , Pull Request , checkout #

  • rebase : Used to combine two branches. Similar to merge, but while merge only combines the final results of two branches, rebase applies the changes from one branch to another sequentially.
  • Pull Request : A command to request project collaborators to review completed work on a branch and merge it into the master branch.
  • Checkout : A command to switch branches.
Back-End/git/용어.md