blog記事: http://alpha.mixi.co.jp/entry/20150513

独りAdvent Calendarへの挑戦の一発目として、私がよく使うGitのコマンドをまとめていくことにします。 あまり使いこんではいないので役に立つかわかりませんが書いていきます。 git init (リポジトリの作成) git add (管理するファイルの指定) git rm (ファイルの削除) git mv (ファイルの移動・リネーム) git commit (コミット) git init (リポジトリの作成) cd path/to/repo git initで path/to/repo ディレクトリにGitのリポジトリの作成を行います。 リポジトリの作成の際に行われることはディレクトリ下に ls -a . .. .gitのように.gitディレクトリを作成することです。 この.gitディレクトリにGitの管理ファイルが格納されます。 つまり通常、このディレクトリ下を触ることはありま
The document outlines various Git commands and their usages, including initialization, adding files, committing changes, and managing branches. Key actions include committing with messages in Japanese, removing files, resetting changes, and checking out branches. It also describes the process of cloning repositories, fetching and pulling updates, and handling merges and rebases.
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く