タグ

ブックマーク / yukiten.com (1)

  • 【Git】ローカルで利用する場合1 | 雪の天秤

    初回コミット とりあえず、適当なファイルを作成します。 $ echo "test" > testfile この状態で下記のコマンド実行すると $ git status # On branch master # # Initial commit # # Untracked files: # (use "git add <file>..." to include in what will be committed) # # testfile こんな感じで、「Untracked files」に作成した「testfile」が入っています。 ここで、 $ git add . で、カレントディレクトリ配下のファイルをすべてインデックスに記録します。 このインデックスに記録する事を「ステージする」または「ステージング」と言います。 この状態で $ git status # On branch maste

  • 1