code style

顯示具有 scm 標籤的文章。 顯示所有文章
顯示具有 scm 標籤的文章。 顯示所有文章

11/21/2011

Survey Perforce

最近在試用Perforce

據悉Google, Sony, NVidia, Pixar, Epic都在使用Perforce作為SCM工具


安裝真的挺方便的,不過我沒做過網管,沒有說服力

身為遊戲開發人員,SCM工具除了能夠version control以外

最好還要有能夠預覽所管理的psd、3ds max、maya等圖形檔案

Perforce很神奇地提供P4Thumb這個工具

P4Thumb可以針對Server上的檔案自動產生thumbnail
包含 * PSD (Photoshop) * MB (Maya) * MAX (3ds Max)

其他Client就可以取得預覽縮圖啦!

1/18/2011

msysgit with CopSSH for windows

 1. install GitExtensions (includes msysgit)
* by default, Git installs to C:\Program Files\Git\

2. install CopSSH
* by default, CopSSH installs to C:\Program Files\ICW\

3. control panel > user accounts > create new account (for example, git)

4. copssh control panel > users > add activated account, i.e. git
* choose "Linux shell and Sftp" for access type to enable shell command execution

5. in C:\Program Files\ICW\home\gi, edit .bashrc and append below script
gitpath=/cygdrive/c/Program\ Files/Git/bin
gitcore=/cygdrive/c/Program\ Files/Git/libexec/git-core
export PATH=$gitpath:$gitcore:$PATH

6. create a remote repository
$ssh git@localhost
$git init test
$cd test; touch abc
$git add .; git commit -m 'test'

7. clone from remote
$git clone git@localhost:test mytest

8. all done :)

If you want to use public keys to access git account, collect public keys and put them into home/git/.ssh/authorized_keys. Check this to get more information.