カンニングペーパー



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]

カンニングペーパー画像

あなたへのすべての最高.