Skip to content

ywc0008/lazygit-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

28 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

                                                                                      ..
                                                                                    :*##+.
     :***+.                                                                =%%%#: .-==-.
     -%%%%=        .::-----:.    .:::::::::: .:--:    .:--:.   .:-----:.    .-==:  .#%%%+
     -%%%%-        +%%%%%%%%#*:  +%%%%%%%%%%::%%%%=   -%%%%: :+#%%%%%%%#*-  -%%%#: .#%%%#***-
     -%%%%-        :---:-=#%%%#. :---=#%%%%+. +%%%%: .*%%%#..#%%%*-::*%%%*  =%%%%: .#%%%#***-
     -%%%%-       .-+*####%%%%#.   .=#%%%+:   .#%%%*.=%%%%- -%%%%-   +%%%*  =%%%%: .#%%%+
     -%%%%=...... =%%%%=::+%%%#. .=#%%%*-....  :#%%%+#%%%=  .#%%%*---#%%%*  =%%%%: .#%%%*...
     -%%%%%%%%%%#.-#%%%***#%%%*. +%%%%%####%=   :*%%%%%%+.   :+#%%%%%%%%%*  =%%%%: .+%%%%###-
     .-+++++++++=. .-+*****+=-.  :++++++++++:    -#%%%%=     .:::----#%%%+  .++++.  .-+****+:
                                                 -#%%%%*:      -%%##*#%%%%*:
                                                  :=+++-.       .-=+****+=:.

μ†μœΌλ‘œ 직접 λ°°μš°λŠ” lazygit | Learn lazygit by doing

Stars License 13 Lessons Languages For lazygit

μ½λŠ” νŠœν† λ¦¬μ–Όμ΄ μ•„λ‹™λ‹ˆλ‹€. 직접 ν•΄λ³΄λŠ” νŠœν† λ¦¬μ–Όμž…λ‹ˆλ‹€.
Not a reading tutorial. A hands-on tutorial.


Demo

lazygit tutorial demo


Quick Start

git clone https://github.com/ywc0008/lazygit-tutorial.git
cd lazygit-tutorial
./tutorial.sh

3쀄이면 μ‹œμž‘ν•  수 μžˆμŠ΅λ‹ˆλ‹€. That's it. Three lines to start learning.

Prerequisites / 사전 μš”κ΅¬μ‚¬ν•­

Tool Install Required
git 2.23+ (already installed on most systems) Yes
lazygit brew install lazygit Yes
python3 + PyYAML pip3 install pyyaml Yes

lazygit μ„€μΉ˜ κ°€μ΄λ“œ: macOS / Linux / Windows


Lessons / 레슨 λͺ©λ‘

Beginner / μ΄ˆκΈ‰

# Lesson 레슨 Steps
01 UI Navigation UI νŒ¨λ„ νƒμƒ‰ν•˜κΈ° 1
02 Staging & Commit 파일 μŠ€ν…Œμ΄μ§•κ³Ό 컀밋 1
03 Branching 브랜치 λ§Œλ“€κ³  μ „ν™˜ν•˜κΈ° 2
04 Push & Pull Push와 Pull 2
05 Diff Viewing Diff ν™•μΈν•˜κΈ° 2

Intermediate / 쀑급

# Lesson 레슨 Steps
06 Merge Conflicts λ¨Έμ§€ 좩돌 ν•΄κ²°ν•˜κΈ° 2
07 Stash Stash μ‚¬μš©ν•˜κΈ° 3
08 Interactive Rebase μΈν„°λž™ν‹°λΈŒ 리베이슀 2
09 Cherry-pick Cherry-pick 2

Advanced / κ³ κΈ‰

# Lesson 레슨 Steps
10 Worktree Worktree 2
11 Patch Building 패치 λΉŒλ”© (λΆ€λΆ„ μŠ€ν…Œμ΄μ§•) 2
12 Bisect Bisect둜 버그 μ°ΎκΈ° 2
13 Custom Commands μ»€μŠ€ν…€ λͺ…λ Ήμ–΄ μ„€μ • 2

How It Works / μž‘λ™ 원리

  setup.sh                    You                      check.sh
  ────────                 ────────                   ──────────
  Creates isolated    β†’    Practice with     β†’    Automatically verifies
  Git scenario             lazygit                 your work
  1. Setup β€” setup.shκ°€ /tmp/lazygit-tutorial/에 격리된 Git μ‹œλ‚˜λ¦¬μ˜€λ₯Ό μƒμ„±ν•©λ‹ˆλ‹€
  2. Practice β€” lazygit을 μ—΄κ³  직접 μ‹€μŠ΅ν•©λ‹ˆλ‹€
  3. Verify β€” check.shκ°€ κ²°κ³Όλ₯Ό μžλ™ κ²€μ¦ν•˜κ³  ν”Όλ“œλ°±μ„ μ€λ‹ˆλ‹€

Your real Git repositories are never touched. μ‹€μ œ μ €μž₯μ†ŒλŠ” μ ˆλŒ€ κ±΄λ“œλ¦¬μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.


Usage / μ‚¬μš©λ²•

./tutorial.sh                    # Show lesson list / 레슨 λͺ©λ‘
./tutorial.sh start 3            # Start lesson 3 / 레슨 3 μ‹œμž‘
./tutorial.sh --lang ko          # Korean / ν•œκ΅­μ–΄
./tutorial.sh --lang en          # English / μ˜μ–΄
./tutorial.sh reset              # Reset progress / μ΄ˆκΈ°ν™”

The tutorial automatically detects your system locale (ν•œκ΅­μ–΄/English).


Language Support / μ–Έμ–΄ 지원

  • ν•œκ΅­μ–΄ (Korean) β€” λ„€μ΄ν‹°λΈŒ 지원
  • English β€” Full support

--lang ko λ˜λŠ” --lang en으둜 μ–Έμ–΄λ₯Ό κ°•μ œ μ„€μ •ν•  수 μžˆμŠ΅λ‹ˆλ‹€.

Adding a new language? Just create lesson.<lang>.yaml files for each lesson.


Contributing / κΈ°μ—¬ν•˜κΈ°

lessons/XX-lesson-name/
β”œβ”€β”€ setup.sh          # Creates the practice scenario
β”œβ”€β”€ check.sh          # Verifies completion
β”œβ”€β”€ lesson.en.yaml    # English instructions
└── lesson.ko.yaml    # Korean instructions

We welcome contributions! κΈ°μ—¬λŠ” μ–Έμ œλ‚˜ ν™˜μ˜ν•©λ‹ˆλ‹€!

  • New lessons / μƒˆ 레슨
  • Translations / λ²ˆμ—­
  • Bug fixes / 버그 μˆ˜μ •
  • Suggestions / μ œμ•ˆ

If this helped you learn lazygit, please consider giving it a ⭐
lazygit ν•™μŠ΅μ— 도움이 λ˜μ—ˆλ‹€λ©΄ ⭐ λ₯Ό λˆŒλŸ¬μ£Όμ„Έμš”


License

MIT

About

πŸŽ“ Hands-on interactive lazygit tutorial with 13 lessons | lazygit μΈν„°λž™ν‹°λΈŒ νŠœν† λ¦¬μ–Ό (ν•œκ΅­μ–΄/English)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors