カンニングペーパー
Gitの設定
git config --global user.name "Your Name"
git config --global user.email "Your Email"
プロジェクトの開始
git init [project name]
git clone [project url]
ディレクトリからファイルを削除する
git rm [file name]
作業ディレクトリの状態
git status
ステージング領域にファイルを追加する
git add [file name]
作業ディレクトリの変更を破棄する
git checkout --[file name]
コミットする
git commit
リポジトリを取り戻す
git reset [file name]
リスト一覧
git branch [-a]
リモートからの変更を取得し、現在のブランチをマージします
git pull [remote]
名前分岐からの結合
git merge [from name]
新しいブランチ
git branch [branch name]
ローカルの変更をリモートにプッシュする
git push [--tags] [remote]
選択した分岐を削除する
git branch -d [branch name]
リモートからの変更を取得する
git fetch [remote]
カレントブランチを指定分岐に切り替える
git checkout [-b] [branch name]
カンニングペーパー画像
あなたへのすべての最高.
Reference
この問題について(カンニングペーパー), 我々は、より多くの情報をここで見つけました https://dev.to/mahmoudessam/git-cheat-sheet-1megテキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol