Skip to main content
  1. Learn center
  2. Software Development
  3. Guides
  4. Git tutorial
  5. Git 사용 방법
  6. Git에서 태깅을 사용하는 방법
GuidesSoftware DevelopmentBacklog
Git

Project and code management together.

Git에서 태깅을 사용하는 방법

이 튜토리얼에서는 Windows, Mac 또는 명령줄 에서 Git을 사용하는 방법을 배웠고 브랜치 작업을 했습니다 이제 태깅에 대해 논의하겠습니다.

태깅에 대한 소개를 놓친 경우 여기에서 다시 방문할 수 있습니다.

먼저 몇 가지를 설정해 보겠습니다. tutorial이라는 새 디렉터리를 만들고 git init 명령을 사용하여 Git 저장소를 초기화합니다.

$ mkdir tutorial
$ cd tutorial
$ git init
Initialized empty Git repository in /Users/username/Desktop/tutorial/.git/

다음으로, tutorial 디렉터리에 아래 내용이 포함된 myfile.txt라는 새 파일을 만들고 커밋합니다.

Anyone can learn Git with this tutorial and Backlog
$ git add myfile.txt
$ git commit -m "first commit"
[main (root-commit) a73ae49] first commit
1 files changed, 1 insertions(+), 0 deletions(-)
  create mode 100644 myfile.txt

이 시점에서 기록은 다음과 같습니다.

Current history

Subscribe to our newsletter

Learn with Nulab to bring your best ideas to life