ユーザ用ツール

サイト用ツール


git:コマンド

差分

この文書の現在のバージョンと選択したバージョンの差分を表示します。

この比較画面にリンクする

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
git:コマンド [2019/11/24 10:17]
ips
git:コマンド [2020/09/21 18:42] (現在)
ips
ライン 181: ライン 181:
 </​code>​ </​code>​
  
 +===== 現在のブランチを確認する =====
 +<​code>​
 +>git branch ​               ​
 +* feature/​xxxxxx //​←カレントに*がついている
 +  master
 +</​code>​
  
 +===== ステージングの内容確認 =====
 +<​code>​
 +>git status
 +On branch feature/​prac_css_flex
 +Changes to be committed:
 +  (use "git reset HEAD <​file>​..."​ to unstage)
 +
 +        modified: ​  ​index.html
 +        modified: ​  ​main.js
 +        modified: ​  ​main.ts
 +        modified: ​  ​style.css
 +        new file:   ​tsconfig.json
 +</​code>​
 +
 +===== ツリー表示させる =====
 +[[https://​git-scm.com/​book/​ja/​v2/​Appendix-A%3A-%E3%81%9D%E3%81%AE%E4%BB%96%E3%81%AE%E7%92%B0%E5%A2%83%E3%81%A7%E3%81%AEGit-%E3%82%B0%E3%83%A9%E3%83%95%E3%82%A3%E3%82%AB%E3%83%AB%E3%82%A4%E3%83%B3%E3%82%BF%E3%83%95%E3%82%A7%E3%83%BC%E3%82%B9|A1.1 Appendix A: その他の環境でのGit - グラフィカルインタフェース]]
 +<​code>​
 +gitk
 +gitk --all
 +</​code>​
git/コマンド.1574558277.txt.gz · 最終更新: 2019/11/24 10:17 by ips