โœ๏ธ Git

[Git] Git GUI ํด๋ผ์ด์–ธํŠธ ํ”„๋กœ๊ทธ๋žจ

๋ฒŒ๊ฟ€์˜ค์†Œ๋ฆฌ๐Ÿฆก 2022. 10. 2. 01:16
๋ฐ˜์‘ํ˜•

 

 

์ฒซ ์ž…์‚ฌ ํ›„ ๊ณผ์ œ ์•„๋‹Œ ๊ณผ์ œ๊ฐ€ ์ฃผ์–ด์กŒ๋‹ค.

 

 

 

๐Ÿ˜บ

์˜ค์†Œ๋ฆฌ๋‹˜, ํ”„๋กœ์ ํŠธ Fork๋กœ ๋กœ์ปฌ์— clone ํ•˜์‹  ๋‹ค์Œ์—

develop ๋ธŒ๋žœ์น˜ ์•„๋ž˜์— ์˜ค์†Œ๋ฆฌ๋‹˜ ๋ธŒ๋žœ์น˜ ์ƒ์„ฑํ•ด์„œ

ํ•œ ๋ฒˆ ์ปค๋ฐ‹ ํ‘ธ์‹œํ•ด๋ณด์‹œ๊ฒ ์–ด์š”?

Fork์š”...?

(Fork๋กœ ์–ด๋–ป๊ฒŒ cloneํ•˜๊ณ  ๋ธŒ๋žœ์น˜๊นŒ์ง€ ๋งŒ๋“ค๋ผ๋Š” ๊ฑฐ์ง€..?)

๐Ÿถ

 

 

 

 

 

๐Ÿ‘†๐Ÿป ๋‚ด๊ฐ€ ์•„๋Š” Fork

 

 

๐Ÿฑ
๋„ค. Fork ์ด์šฉํ•˜์‹œ๋ฉด ๋ผ์š”!
??? Fork ํ•œ ํ›„์— clone ํ•˜๊ณ  ๋ธŒ๋žœ์น˜ ์ƒ์„ฑํ•˜๋ผ๋Š”๊ฑฐ์ฃ ??
๐Ÿถ

 

 

 

๐Ÿฑ
์•„๋‡จ, Fork๋ผ๋Š” ํˆด์ด ์žˆ์–ด์š”!
โ€ผ๏ธ
๐Ÿถ

 

 

 


 

Git GUI ํด๋ผ์ด์–ธํŠธ ํ”„๋กœ๊ทธ๋žจ

 

 

 

Git์„ ์ง๊ด€์ ์œผ๋กœ ๋ณด๋ฉด์„œ ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ๋Š” ํ”„๋กœ๊ทธ๋žจ์„ Git GUI ํด๋ผ์ด์–ธํŠธ ํ”„๋กœ๊ทธ๋žจ์ด๋ผ ๋ถ€๋ฅธ๋‹ค.

 

Git GUI ํˆด ์ค‘ ํ•˜๋‚˜์ธ ์†Œ์ŠคํŠธ๋ฆฌ๋ฅผ ์•Œ๊ณ  ์žˆ์—ˆ์ง€๋งŒ Git ๋ช…๋ น์–ด๋ฅผ ์กฐ๊ธˆ ๋” ์ˆ™์ง€ํ•˜๊ณ ์ž cmd / terminal ๋งŒ์„ ๊ณ ์ˆ˜ํ•ด์™”๋‹ค.

 

ํ•˜์ง€๋งŒ ์ด์ œ ์‹ค๋ฌด๋ฅผ ์‹œ์ž‘ํ•˜๊ฒŒ ๋˜์—ˆ์œผ๋‹ˆ Git์€ ์†Œ์Šค ๊ด€๋ฆฌ๋ฅผ ์šฉ์ดํ•˜๊ฒŒ ํ•ด์ฃผ๋Š” ๋ณด์กฐ ๊ธฐ์ˆ ์ผ ๋ฟ์ด๋ฏ€๋กœ ํˆด์„ ์ด์šฉํ•ด ์กฐ๊ธˆ ๋” ์‰ฝ๊ณ  ๋น ๋ฅด๊ฒŒ ์ฝ”๋“œ๋ฅผ ๊ด€๋ฆฌํ•ด๋ณด์ž!

 

 

 

SourceTree
 

Sourcetree | Free Git GUI for Mac and Windows

A Git GUI that offers a visual representation of your repositories. Sourcetree is a free Git client for Windows and Mac.

www.sourcetreeapp.com

 

 

 

Github Desktop
 

GitHub Desktop

Simple collaboration from your desktop

desktop.github.com

 

 

 

GitKraken
 

GitKraken Legendary Git Tools | GitKraken

Meet GitKraken, the creator of legendary Git tools for developers and teams - like the GitKraken Client, with Git GUI and CLI, Git Integration for Jira, and GitLens for VS Code.

www.gitkraken.com

 

 

 

SmartGit
 

SmartGit – Git Client for Windows, macOS, Linux

Interacting with popular platforms. SmartGit comes with special integrations for GitHub, Azure DevOps, BitBucket (as well BitBucket Server) and GitLab to create and resolve Pull Requests and Review Comments. Of course, you can use SmartGit like any other G

www.syntevo.com

 

 

 

Git Extensions
 

Git Extensions

Git Extensions is a standalone UI tool for managing Git repositories

gitextensions.github.io

 

 

 

 


 

 

 

์ด ์™ธ์—๋„ ๋‹ค๋ฅธ GUI ํˆด์€ ์•„๋ž˜ ์‚ฌ์ดํŠธ์—์„œ ํ™•์ธํ•ด๋ณด๋Š” ๊ฒƒ์„ ์ถ”์ฒœํ•œ๋‹ค.

 

 

 

Git - GUI Clients

GUI Clients Git comes with built-in GUI tools for committing (git-gui) and browsing (gitk), but there are several third-party tools for users looking for platform-specific experience. If you want to add another GUI tool to this list, just follow the instru

git-scm.com

 

 

ํ•˜์ง€๋งŒ ํ™•์‹คํžˆ ๋ช…๋ น์–ด์— ์ต์ˆ™ํ•ด์ง€๊ณ  ์‹ถ์€ ์‚ฌ๋žŒ์€ cmd / terminal์„ ์ด์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์ถ”์ฒœํ•œ๋‹ค.

 

์ด ๊ธ€์€ Git์— ์ถฉ๋ถ„ํžˆ ์ต์ˆ™ํ•ด์ง„ ์‚ฌ๋žŒ์ด ์ข€ ๋” ํšจ์œจ์ ์œผ๋กœ ํŽธ๋ฆฌํ•˜๊ฒŒ ํ˜‘์—…ํ•  ์ˆ˜ ์žˆ๋Š” ๋ฐฉ๋ฒ•์„ ์†Œ๊ฐœํ•˜๊ธฐ ์œ„ํ•œ ๊ธ€์ด๋‹ค.

 

๊ทธ์ค‘ ์š”์ฆ˜ ๋งŽ์ด ์‚ฌ์šฉํ•˜๋Š” (๋‚ด๊ฐ€ ์‚ฌ์šฉํ•˜๋Š”ใ…Žใ…Ž) Fork๋ฅผ ์†Œ๊ฐœํ•ด๋ณด๊ณ ์ž ํ•œ๋‹ค.

 

 

 

 


 

 

Fork

github์˜ fork ๊ธฐ๋Šฅ๊ณผ ํ—ท๊ฐˆ๋ฆฌ๊ธฐ ๋•Œ๋ฌธ์— git-fork๋ผ๊ณ ๋„ ํ•œ๋‹ค.

 

Fork - a fast and friendly git client for Mac and Windows

Fork - a fast and friendly git client for Mac and Windows

fork.dev

 

 

 

 

 

 

Fork๋ฅผ ๊น”๊ณ  ๋‚˜๋ฉด ๋‚˜์˜ค๋Š” ์ฒซ ํ™”๋ฉด

(์•„๋งˆ...? ์ด์ „์— ๋ญ ์„ค์ •ํ•˜๋Š” ๊ฒŒ ์žˆ๊ธด ํ–ˆ๋˜ ๊ฒƒ ๊ฐ™์€๋ฐ... ์•„๋ฌดํŠผ)

 

์™ผ์ชฝ ์ƒ๋‹จ์˜ Accounts ์—์„œ github / gitlab / bitbucket ๋“ฑ ์›ํ•˜๋Š” ํ”Œ๋žซํผ์˜ ๊ณ„์ •์„ ๋“ฑ๋กํ•˜๋ฉด ๋œ๋‹ค.

 

 

 

 

๊ณ„์ •์„ ๋“ฑ๋กํ•˜๋ฉด ์œ„์™€ ๊ฐ™์ด ๋‚˜์˜จ๋‹ค.

 

 

 
 

Account ์ •๋ณด ์˜† Repositories๋ฅผ ๋ˆ„๋ฅด๋ฉด ํ•ด๋‹น ๊ณ„์ •์˜ ๋ชจ๋“  Repo ๋ชฉ๋ก์„ ๋ณผ ์ˆ˜ ์žˆ๋‹ค.

๊ทธ๋ฆฌ๊ณ  ํด๋ก  ํ•˜๊ณ ์ž ํ•˜๋Š” ํ”„๋กœ์ ํŠธ ์˜†์— ์•„๋ž˜ ํ™”์‚ดํ‘œ โฌ‡๏ธ ๋ฅผ ๋ˆ„๋ฅด๊ณ  ํŒŒ์ผ ์œ„์น˜ ์„ค์ •ํ•ด์ฃผ๋ฉด ํด๋ก  ์™„.

 

 

 

ํด๋ก ์ด ๋˜๋ฉด ์ด์ œ ์™ผ์ชฝ ์ •๋ณด์ฐฝ์— ํด๋ก  ๋œ ํ”„๋กœ์ ํŠธ๋“ค์ด ๋‚˜ํƒ€๋‚œ๋‹ค.

 

 

 

ํด๋ก  ํ•œ ํ”„๋กœ์ ํŠธ์— ๋“ค์–ด๊ฐ€ ๋ณด๋ฉด ์™ผ์ชฝ ์ •๋ณด์ฐฝ์— ํ•ด๋‹น ํ”„๋กœ์ ํŠธ์˜ ๋ธŒ๋žœ์น˜ ์ •๋ณด, ํƒœ๊ทธ, stash ๋“ฑ์ด ๋œฌ๋‹ค.

 

 

๐Ÿ’ก ํƒœ๊ทธ๋Š” ๋ณดํ†ต ๋ฐฐํฌ ์‹œ ๋ฒ„์ „ ์ •๋ณด๋ฅผ ํ‘œ๊ธฐํ•˜๊ธฐ ์œ„ํ•ด ์‚ฌ์šฉํ•œ๋‹ค. ๋ฌผ๋ก  ์™ธ์—๋„ ๋ฉ”๋ชจ๋‚˜ ์ฑ…๊ฐˆํ”ผ ๊ฐ™์€ ๋Š๋‚Œ์œผ๋กœ ์‚ฌ์šฉ ๊ฐ€๋Šฅ. ์ปค๋ฐ‹ ๋ชฉ๋ก(All Commits)์—์„œ ์˜ค๋ฅธ์ชฝ ํด๋ฆญ์œผ๋กœ ํƒœ๊ทธ ์ƒ์„ฑ์ด ๊ฐ€๋Šฅํ•˜๋‹ค.

 

๐Ÿ’ก stash๋Š” ํ˜„์žฌ ํ”„๋กœ์ ํŠธ ํ˜„ํ™ฉ์„ ๊ธฐ๋กํ•  ์ˆ˜ ์žˆ๋Š” ๊ธฐ๋Šฅ์ด๋‹ค. ๋ธŒ๋žœ์น˜๋ฅผ ์ด๋™ํ•˜๊ธฐ ์ „ stash ํ•ด๋†“์œผ๋ฉด ๋‹ค์‹œ ๋˜๋Œ์•„๊ฐˆ ์ˆ˜ ์žˆ๋‹ค. ์ƒ๋‹จ์˜ Push ๋ฒ„ํŠผ ์˜† Stash ๋ฒ„ํŠผ์œผ๋กœ ์ƒ์„ฑํ•  ์ˆ˜ ์žˆ๋‹ค.

 

 

์™ผ์ชฝ ์ƒ๋‹จ์— Local Changes์—์„œ ๋กœ์ปฌ์—์„œ ๋ณ€๊ฒฝ๋œ ํŒŒ์ผ๋“ค์„ ์„ ํƒํ•ด ์›ํ•˜๋Š” ํŒŒ์ผ๋“ค๋งŒ ์ปค๋ฐ‹ & ํ‘ธ์‹œ๊ฐ€ ๊ฐ€๋Šฅํ•˜๋‹ค.

์ปค๋ฐ‹์„ ์›ํ•˜๋Š” ํŒŒ์ผ์€ Stage, ์›ํ•˜์ง€ ์•Š๋Š” ํŒŒ์ผ์€ Unstage๋กœ ์กฐ์ •ํ•  ์ˆ˜ ์žˆ๋‹ค.

 

 

 

 

All Commits์—์„œ๋Š” ์ด๋ ‡๊ฒŒ ์ปค๋ฐ‹ ๊ธฐ๋ก ๋ฐ ํƒœ๊ทธ๋ฅผ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค.

 

 

๋ธŒ๋žœ์น˜ ์ƒ์„ฑ์€ ๊ทธ๋ƒฅ ์™ผ์ชฝ ์ •๋ณด์ฐฝ ๋ธŒ๋žœ์น˜ ์ •๋ณด ๋ชฉ๋ก์—์„œ ์™ผ์ชฝ ํด๋ฆญ์œผ๋กœ ์‰ฝ๊ฒŒ ์ƒ์„ฑ ๊ฐ€๋Šฅํ•˜๋‹ค.

๋ธŒ๋žœ์น˜ ์ด๋™ํ•˜๋Š” ๋ฐฉ๋ฒ•๋„ ๋ธŒ๋žœ์น˜ ์ •๋ณด ๋ชฉ๋ก์—์„œ ํ•ด๋‹น ๋ธŒ๋žœ์น˜๋ฅผ ๋”๋ธ”ํด๋ฆญํ•˜๋ฉด ๋œ๋‹ค.

๊ทธ๋ฆฌ๊ณ  Local Changes์—์„œ ์›ํ•˜๋Š” ํŒŒ์ผ๋งŒ Stage ํ•ด์„œ Commit & Pushํ•˜๋ฉด ๋!

 

 

 

์ผ์ผ์ด Git ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ–‡๋˜ ๊ณผ๊ฑฐ์˜ ๋‚˜ ์ด์ œ ์•ˆ๋…• ๐Ÿ‘‹๐Ÿป

 

 

์ƒ๊ฐ๋ณด๋‹ค ์“ธ๊ฒŒ ๋งŽ์•„์„œ ๊ธ€์ด ์ง€์ €๋ถ„ํ•ด์ง€๋Š” ๋Š๋‚Œ์ด๋ผ ์ตœ๋Œ€ํ•œ ์ค„์˜€๋Š”๋ฐ ๊ทธ๋ž˜๋„ ์ข€ ์ •๋ฆฌ์•ˆ ๋œ ๋„ˆ๋‚Œ... ๐Ÿ˜ฅ

์•ž์œผ๋กœ ์ฐจ๊ทผ์ฐจ๊ทผ ํ•˜๋‚˜์”ฉ ์ž‘์„ฑํ•ด๋‚˜๊ฐ€์•ผ๊ฒ ๋‹ค.

 

 

 

 

๋ฐ˜์‘ํ˜•