flagflag  If you want to see English page, please click "English" Button at Left.
2: 2009-08-25 (火) 14:19:31 iseki ソース 現: 2023-12-01 (金) 16:22:29 iseki ソース
Line 1: Line 1:
** git [#n160aa29] ** git [#n160aa29]
- 分散型バージョン管理システム - 分散型バージョン管理システム
 +#br
*** Link [#a0d9a723] *** Link [#a0d9a723]
- http://kernel.org/pub/software/scm/git/ - http://kernel.org/pub/software/scm/git/
 +#br
*** Install [#z29a6882] *** Install [#z29a6882]
Line 11: Line 13:
*** Memo [#v1db9ca4] *** Memo [#v1db9ca4]
- $ git show ++ $ git show --name-status   で UUID を覚える. 
- $ git log ...<UUID> --name-status++ $ 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 ... 」 を選択


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 5月翌月
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
<今日>

オンライン状況

119 人のユーザが現在オンラインです。 (28 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 119

もっと...

アクセスカウンタ

今日 : 1409714097140971409714097
昨日 : 1615016150161501615016150
総計 : 2349339023493390234933902349339023493390234933902349339023493390
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com