Git Basics

What is Git?

: Distributed Version Control System (DVCS)

Centralized version control diagram

Git Main Commands

1. Create Git repository - git init

2. Git version management - git status

  • You must continuously check what the current state of git is!

  • The most important git command!

+

Remote Repository

  • Register remote repository

    • Git, add to remote repository with the name origin and url

  • push

  • pull

Clone Remote Repository

  • The clone command doesn't play the role of pull, but the role of init

    • Ways to initialize repository locally

      • git init - Use specific folder as repository

      • git clone - Clone specific remote repository

git

Last updated