Windows から Git を使う方法
[参考記事] TortoiseGit
Gitをyumでインストールする方法
Windows から git を使う公式な方法は cygwin しかないみたいですが、非公式な方法として msysgit というアプリケーションを使う方法があります。
http://code.google.com/p/msysgit/ より
Git on Windows was only officially supported using Cygwin.
msysgit - Google Code
http://code.google.com/p/msysgit/
インストール
Adjusting your PATH environment
コマンドプロンプトから使用したいので、「Run Git from the Windows Command Prompt」を選択。
Choosing the SSH executable
使うとすれば putty を使うので「Use PLink」を選択。
インストール完了したら、コマンドプロンプトを立ち上げて、git がインストールされたことを確認します。
C:\>git usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path] [-p|--paginat e|--no-pager] [--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE] [--help] COMMAND [ARGS] The most commonly used git commands are: add Add file contents to the index bisect Find by binary search the change that introduced a bug branch List, create, or delete branches checkout Checkout a branch or paths to the working tree clone Clone a repository into a new directory commit Record changes to the repository diff Show changes between commits, commit and working tree, etc fetch Download objects and refs from another repository grep Print lines matching a pattern init Create an empty git repository or reinitialize an existing one log Show commit logs merge Join two or more development histories together mv Move or rename a file, a directory, or a symlink pull Fetch from and merge with another repository or a local branch push Update remote refs along with associated objects rebase Forward-port local commits to the updated upstream head reset Reset current HEAD to the specified state rm Remove files from the working tree and from the index show Show various types of objects status Show the working tree status tag Create, list, delete or verify a tag object signed with GPG See 'git help COMMAND' for more information on a specific command.
使い方
チェックアウト
git clone git://git.example.com/test.git
関連記事
- MacのEclipseにGoclipseをインストールすると起動時にJavaエラーが発生する
- 「VCRUNTIME140_1.dllが見つからないため、コードの実効を続行できません」の対処法
- Poderosa5で「インデックスが配列の境界外です。」と出る場合の対処法(CentOS8 Ubuntu)
- Windowsを定時にシャットダウンするツール
- Amazon Linux2をローカルのVirtualBoxで起動する方法
- VirtualBox Interfaceが起動していてシャットダウンができないとき
- Gitを自動的にpullする方法(常に最新の状態にする)
- GoogleChromeでSSL接続を強制される設定(HSTS)のキャッシュを消す方法
- phpMyAdminでログイン画面を出さずにデータベースに接続する方法
- 破損したストレージからのデータ復旧
- Google Chromeでプロキシを使う方法(Chromeのみ・OS全体)
- TeraTermにマクロでログインする方法(パスワード認証・公開鍵認証)
- SOAP APIのツールSoapUI(添付ファイルがShiftJIS/substitutionGroup属性は非対応)
- VagrantでSSHログインする方法
- Vagrantで使用している秘密鍵の場所
- プラグインvagrant-vbguestを使うときの注意点
- VBoxGuestAdditions.iso の場所
- phpMyAdminで『information_schema』などを非表示にする方法
- 秀丸 テキストエディタ
- 多言語対応テキストエディタの一覧
- McAfeeのアンインストールができない場合の対処法
- いろんな検索エンジンのウェブマスターツールの一覧
- Windows7やWindowsVistaでTelnetを使用する方法
- Google Chromeで一部の文字だけ四角記号に文字化けするときの対処法
- Google Chromeでテキストエリアtextareaのサイズ変更をさせない方法
- パスの設定 環境変数PATH
- Firefox、Chromeなどで文字化けを防ぐ方法 ヘッダー情報に文字コードを指定
- Google ChromeでHTTP headerをみる方法
- Google Chromeの詳細情報を見る方法 HTTPヘッダー、通信状態など開発者向け情報
- Google Chromeをアップデートする方法
- Firefoxでスクロール部分を含めてスクリーンショットをとる Screengrab
- Subversion(SVN)でファイルのコミットを除外する
- Microsoft Virtual PC 2007
- NetBeans6のインストール(JavaだけでなくRuby、PHP、C/C++に対応した統合開発環境)
- Windows版tcpdump WinDump Wireshark
- SSLに非対応のクライアントまたはサーバをSSLに対応させる Stunnel
- subclipseの操作をするとEclipseが閉じてしまう
- Mylyn(タスク指向UIプラグイン Eclipse)
- Eclipseの.projectファイルやThumbs.dbをコミットしないようにする設定
- WinSCPでリスト取得のエラー『ディレクトリのリストに不正な行 'ケ邱ラ' 不正な権限の表記』
- Windows版Safariの文字化け解消法
- TortoiseHg MercurialのGUIクライアント
- Lhaplus 多くの圧縮形式に対応した圧縮解凍ソフト
- パワーポイント(PowerPoint)で背景に画像を付ける方法
- Mercurialクライアント Eclipseプラグイン(MercurialEclipse)
- コミットエラー『 405 Method Not Allowed 』とは
- 『Pleiades でエラーが発生しました。』の対処法
- Attempted to lock an already-locked dir とは(Subclipse)
- 大量のファイルを高速にダウンロードするツール orbit downloader
- EclipseでCGI(Perl)の開発環境を作る EPICプラグイン
- Windowsで音楽CDをmp3形式に変換する方法
- TortoiseSVNの動作(TSVNCache)を速くする
- Smart Defrag パソコンを使っていないときに自動的に最適化してくれるデフラグツール
- Ultimate Defrag よく使うファイルを外周に配置するデフラグツール
- TortoiseGit Gitクライアント
- ハードディスクの中身をグラフで可視化するツール Overdisk
- FreeMind マインドマップ作成ソフト
- 複数バージョンのIEを検証するツール
- Hosts File Manager (hostsファイルを編集するツール)
- Firefoxでパスワードを保存するときの注意
- Eclipseで逆コンパイルを行う JadClipse
- Firefoxのおススメadd-on集
- Aptana Studio 統合開発環境(IDE)
- @icon変換 favicon作成ツール
- Subclipse Eclipse用のSVNクライアントプラグイン
- ODBC Windowsデータベースアクセス仕様
- CSE(Common SQL Environment) SQL便利ツール
- FireMobileSimulator パソコンで携帯サイトを検証する
- Eclipse で全角空白、タブを強調表示する方法
- EclipseでPHPプロジェクトにする方法
- ophcrack Windowsのパスワード解析ツール
- LiveHTTPHeaders FireFox用HTTPヘッダー情報確認ツール
- ieHTTPHeaders IE用HTTPヘッダー情報確認ツール
- eclipseで『.』(ドット)から始まるファイル[.htaccess]を表示する
- MACアドレス変更ソフト K-MAC
- EclipseでShift-JISを使用する方法
- SeaHouse (Sleipnir拡張機能)
- MKEditor テキストエディタ
- UnEditor NoEditor
- Hawkeye Sleipnirのプラグイン
- Sleipnir 高機能タブブラウザ
- TortoiseCVS CVSクライアント
- WinMerge
- Tera Term Pro
- TortoiseSVN Subversionクライアント
- Cygwin Windows上でLinux環境を使用する
- PuTTY
- FFFTP
- WinSCP
- Poderosa
- Eclipse (統合開発環境)
スポンサーリンク