Gitが、おもしろいほどわかる基本の使い方33 改訂新版〈バージョン管理、GUI、Sourcetree、Bitbucket〉
目次
- 目次
- はじめに
- gitコマンド
- git clone
- git clone --recursive URL
- git clone --depth 1 URL
- git init
- git init --bare --share
- git status
- git commit
- git commit -a
- git commit --amend "new message"
- git commit -v
- git commit -m "bug fix"
- git log
- git log -- pretty=short
- git log file_name
- git log -p
- git log --graph
- git diff
- git diff <ブランチ名> <ブランチ名>
- git branch
- git branch <ブランチ名>
- git branch -a
- git branch -m <古いブランチ名> <新しいブランチ名>
- git branch -d feature
- git branch <ブランチ名> origin/<ブランチ名>
- git remote
- git remote add hoge https://hogehoge.git
- git remote -v
- git checkout
- git checkout <ブランチ名>
- git checkout -b <新しいブランチ名>
- git checkout -
- git checkout -b <ブランチ名> origin/<ブランチ名>
- git checkout HEAD <ファイル名>
- git reset
- git reset HEAD
- git reset --hard
- git revert
- git revert HEAD
- git clean
- git clean -df
- git clean -xdf
- git stash
- git merge
- git merge <ブランチ名>
- git merge --no-ff hoge
- git merge --squash
- git rebase
- git rebase -i HEAD~2
- git push
- git push -u origin master
- git submodule
- git submodule add URL
- git submodule update --init --recursive
- gitでのソフト開発メモ
- トピックブランチ
- gitでタブ補完を使うようにする
- git初期設定
- 名前とEmailの設定
- コマンドをカラーで読みやすくするための設定
- コミットログのエディタをvimにする
- 参考資料
- MyEnigma Supporters
はじめに
個人的なGitの使い方メモです。
その他のGit関連のツールに関しては、下記を参照ください。
JetBrains IDEによるGitの使い方は、
下記を参照ください。
続きを読む