-
[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 ๋ช ๋ น์ด๋ฅผ ์ ๋ ฅํ๋ ๊ณผ๊ฑฐ์ ๋ ์ด์ ์๋ ๐๐ป ์๊ฐ๋ณด๋ค ์ธ๊ฒ ๋ง์์ ๊ธ์ด ์ง์ ๋ถํด์ง๋ ๋๋์ด๋ผ ์ต๋ํ ์ค์๋๋ฐ ๊ทธ๋๋ ์ข ์ ๋ฆฌ์ ๋ ๋๋... ๐ฅ
์์ผ๋ก ์ฐจ๊ทผ์ฐจ๊ทผ ํ๋์ฉ ์์ฑํด๋๊ฐ์ผ๊ฒ ๋ค.
๋ฐ์ํ'โ๏ธ Git' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Git] Git .gitignore ์ค์ (0) 2023.07.06