git x local - izudon/izudon.github.io GitHub Wiki

日々の git

$ git add -A
$ git commit
$ git log
$ git log -1
$ git status
  • 両方表示される
    • コミット前のステージングされた変更
      • Changes to be committed: といって
        modified: xxx (変更のあったファイル)
        new file: yyy (新規のファイル)という形で表示される。
    • ステージングされていない変更
      • Changes not staged for commit として「既知のファイルの変更」が、
        Untracked files: として「新規のファイル」が それぞれ表示される。