์๋ ํ์ธ์,
Windows 7 64๋นํธ์ ์ฒ์์ผ๋ก git flow๋ฅผ ์ค์นํ๋ ค๊ณ ํฉ๋๋ค.
getopt.exe๊ฐ ์์ด์ util-linux(http://downloads.sourceforge.net/gnuwin32/util-linux-ng-2.14.1-setup.exe)๋ฅผ ์ค์นํ์ต๋๋ค. ๊ทธ๋ฐ ๋ค์ ๊ด๋ฆฌ์ ๊ถํ์์ด git flow๋ฅผ ์ค์นํ๋๋ฐ ๊ด๋ฆฌ์ cmd์์ ์ค์น๋ฅผ ๋ค์ ์์ํ๋ผ๋ ๋ฉ์์ง๊ฐ ํ์๋์์ต๋๋ค. ๋ด๊ฐ sudo cmd ํ, ๋๋
1 ํ์ผ ๋ณต์ฌ
C:\tmp\gitflow\git-flow -> C:\Program Files (x86)\Gitbin\git-flow
C:\tmp\gitflow\git-flow-feature -> C:\Program Files (x86)\Gitbin\git-flow-feature
C:\tmp\gitflow\git-flow-hotfix -> C:\Program Files (x86)\Gitbin\git-flow-hotfix
C:\tmp\gitflow\git-flow-init -> C:\Program Files (x86)\Gitbin\git-flow-init
C:\tmp\gitflow\git-flow-release -> C:\Program Files (x86)\Gitbin\git-flow-release
C:\tmp\gitflow\git-flow-support -> C:\Program Files (x86)\Gitbin\git-flow-support
C:\tmp\gitflow\git-flow-version -> C:\Program Files (x86)\Gitbin\git-flow-version
7 ํ์ผ ๋ณต์ฌ
C:\tmp\gitflow\gitflow-common -> C:\Program Files (x86)\Gitbin\gitflow-common
C:\tmp\gitflow\gitflow-shFlags -> C:\Program Files (x86)\Gitbin\gitflow-shFlags
2 ํ์ผ ๋ณต์ฌ
ํ์ผ์ ์ฐพ์ ์ ์์ - shflags
0 ํ์ผ ๋ณต์ฌ
์์์น ๋ชปํ ์ค๋ฅ๊ฐ ๋ฐ์ํ์ต๋๋ค. ์ฃ์กํฉ๋๋ค. ์ง์ ์์ ํด์ผ ํฉ๋๋ค. [์]?์
์ด ์ ํํ ๋ฌธ์์ด("ํ์ผ์ ์ฐพ์ ์ ์์ - shflags")์ ๋ํ ์ธํฐ๋ท ๊ฒ์์๋ ์ ํํ ์ผ์นํ๋ ๊ฒฐ๊ณผ๊ฐ 0๊ฐ ์์์ต๋๋ค. ์ด๋ป๊ฒ ์งํํด์ผ ํ๋์?
BTW, ์ค์๋ก ๊ด๋ฆฌ์๊ฐ ์๋ cmd์์ ๋ค์ ์ค์น๋ฅผ ์๋ํ์ ๋ ๋ค์๊ณผ ๊ฐ์ ๊ฒฐ๊ณผ๊ฐ ๋ํ๋ฌ์ต๋๋ค.
C:\tmp\gitflow\contrib>msysgit-install.cmd
"C:\Program Files (x86)\Git"์ gitflow ์ค์น ์ค...
getopt.exe... ๋ฐ๊ฒฌ
GitFlow๊ฐ ์ด๋ฏธ ์ค์น๋์ด ์์ต๋๋ค.
๊ต์ฒดํ์๊ฒ ์ต๋๊น [y/n]n
์ค์น๊ฐ ์ทจ์๋์์ต๋๋ค.
git flow๊ฐ ์ฌ๋ฐ๋ฅด๊ฒ ์ค์น๋์ด ์์ต๋๊น? ์ด๋ป๊ฒ ํ์ธํ ์ ์์ต๋๊น?
์๋ ํ์ธ์,
ํ์ ๋ชจ๋ shFlags์ ๋ฌธ์ ๊ฐ ์์ต๋๋ค.
git clone https://github.com/nvie/gitflow.git
cd gitflow
git submodule
-2fb06af13de884e9680f14a00c82e52a67c867f1 shFlags
git submodule init
Submodule 'shFlags' (git://github.com/nvie/shFlags.git) registered for path 'shFlags'
git submodule update
Cloning into 'shFlags'...
remote: Counting objects: 454, done.
remote: Compressing objects: 100% (55/55), done.
remote: Total 454 (delta 389), reused 454 (delta 389)
Receiving objects: 100% (454/454), 101.19 KiB, done.
Resolving deltas: 100% (389/389), done.
Submodule path 'shFlags': checked out '2fb06af13de884e9680f14a00c82e52a67c867f1'
git submodule status
2fb06af13de884e9680f14a00c82e52a67c867f1 shFlags (1.0.3)
๋ฌธ์ ์ธ์ฌ.
ํ๋ฅญํฉ๋๋ค. ๊ฐ์ฌํฉ๋๋ค!
๋์ผํ ๋ฌธ์ ๊ฐ ์๊ณ "git submodule update"๊ฐ ๋ฉ์ท์ต๋๋ค.
์ด ์ค๋ฅ๊ฐ ๋ฐ์
$ git ํ์ ๋ชจ๋ ์
๋ฐ์ดํธ
์น๋ช
์ : ๋จ์ผ ์์ ํ์
ํ์ ๋ชจ๋ ๊ฒฝ๋ก 'shFlags'์์ ํ์ฌ ๊ฐ์ ํ์ ์ฐพ์ ์ ์์ต๋๋ค.
๋ด๊ฐ ๋ญ ์๋ชปํ๊ณ ์์ฃ ?
Google ๊ฒ์์ https://github.com/mxcl/homebrew/issues/15412๋ก ๋๋ฉ๋๋ค.
๊ทธ๋ฌ๋ ๋๋ homebrew๊ฐ ์๋ โโwindows7์ ์์ผ๋ฉฐ ์์ ์ฌํญ์ ์ป์ง ๋ชปํฉ๋๋ค.
๋๊ตฐ๊ฐ ํํธ๊ฐ ์์ต๋๊น? ๋ฏธ๋ฆฌ ๊ฐ์ฌ๋๋ฆฝ๋๋ค.
์๋ ํ์ธ์ @grails-ruin-app ์ ๋ ๋น์ ๊ณผ ๋๊ฐ์ ๋ฌธ์ ๋ฅผ ๊ฒช๊ณ ์์ต๋๋ค. ํด๊ฒฐ ๋ฐฉ๋ฒ์ ์ฐพ์ ์ ์ด ์์ต๋๊น?
@cmchiu
๋ฌธ์ ๋ git ํ๋ธ์ ๋ํ ์ฐ๊ฒฐ์ด ๋์ด์ก๋ค๋ ๊ฒ์
๋๋ค. gitflow\shFlags์๋ .git ํ์ผ์ด ์์ต๋๋ค.
์ญ์ ํ๋ฉด ๋ชจ๋ ์ค๋น๊ฐ ์๋ฃ๋ฉ๋๋ค.
๋ํ ๊ทธ ๋งํ ์ค๋ฅ๋ฅผ ์์ ํ๋ ค๋ฉด ๋ฌผ๋ง๋ฃจ๋ฅผ ์ฝ์ผ์ญ์์ค.
http://stackoverflow.com/questions/4891527/git-protocol-blocked-by-company-how-can-i-get-around-that
git config --๊ธ๋ก๋ฒ URL."https://".insteadOf git://
๋๋ฅผ ์ํด ํธ๋ฆญ์ํ๋ค.
@cmchiu ์, ์ ๋์ค ๊ธฐ๋ฐ ์์คํ ์ผ๋ก ์ ํํ์ต๋๋ค :D
ํ๋ฅญํ! ํ์ ๋ชจ๋ ์ ๋ฐ์ดํธ๊ฐ ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๋ ๋ฐ ๋์์ด ๋์์ต๋๋ค. :)
์ ์ด๊ฑฐ ๋ชป์จ์ ์ฌํ๋ค...
C:\var\www\gitflow>git submodule init
C:\var\www\gitflow>git submodule update
C:\var\www\gitflow>git submodule status
C:\var\www\gitflow>
ํ์คํ ๋ญ๊ฐ๊ฐ ๋ํ๋์ผํฉ๋๋ค :o
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
์๋ ํ์ธ์,
ํ์ ๋ชจ๋ shFlags์ ๋ฌธ์ ๊ฐ ์์ต๋๋ค.
๋ฌธ์ ์ธ์ฌ.