flagflag  
1: 2009-08-11 (Tue) 22:31:31 iseki source Cur: 2023-12-01 (Fri) 16:22:29 iseki source
Line 1: Line 1:
** git [#n160aa29] ** git [#n160aa29]
- 分散型バージョン管理システム - 分散型バージョン管理システム
 +#br
 +
 +*** Link [#a0d9a723]
 +- http://kernel.org/pub/software/scm/git/
 +#br
 +
 +*** Install [#z29a6882]
 + # ./configure
 + # make
 + # make install
 +
 +*** Memo [#v1db9ca4]
 ++ $ git show --name-status   で UUID を覚える.
 ++ $ git pull
 ++ $ git log <1でのUUID>... --name-status
 ++ $ git remote -v  git の情報
 +#br
 +
 +*** masterブランチを保持しつつ,他のブランチに対して作業(パッチなど)を行う場合. [#o7e7db07]
 ++ git pull            masterブランチの更新
 ++ git branch XXX      ブランチXXX の作成
 ++ git checkout XXX    ブランチXXX へ移動
 ++ XXXブランチで作業
 ++ git commit -a -m "any comment"
 ++ git checkout master
 ++ 1へ戻る
 +#br
 +*** 任意のタグにチェックアウトする. [#t26115e8]
 +- git checkout -b ブランチ名 タグ名
 +#br
 +
 +*** svn to git [#fa6602c3]
 +- リポジトリのコピー
 + git clone git://opensimulator.org/git/opensim opensim_git_orig
 + cp -Rpd opensim_git_orig opensim_git
 +
 +- git ブランチと移動作成
 + git branch r####
 + git checkout r####
 +
 +- ブランチの変更をコミット
 + git commit -a -m "message"
 +#br
 +
 +** for MS Windows [#xd3662ee]
 +
 +**** msysgit  (CUI of Linux) [#d2fc82db]
 +- http://code.google.com/p/msysgit/downloa​ds/list
 +- Git-x.y.z-previewXXXXXX.exe
 +- インストール
 +-- 「Run Git from Windows Command Prompt」 を選択
 +-- 「Use Windows style line endings」 を選択
 +
 +**** TortoiseGit (GUI) [#v53d8d10]
 +- http://sourceforge.jp/projects/tortoiseg​it/
 +- インストール
 +-- 「TortoisePLink ... 」 を選択


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

33 user(s) are online (3 user(s) are browsing xpwiki)

Members: 0
Guests: 33

more...

Access Counter

Today : 304304304
Yesterday : 5790579057905790
Total : 2365310023653100236531002365310023653100236531002365310023653100
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com