Más contenido relacionado
Gitのおさらい
- 66. $ git add target.php
$ git add -u
$ git rm --cached target.php
$ git rm target.php
- 67. $ git add target.php
$ git add -u
$ git rm --cached target.php
$ git rm target.php
$ git status
- 68. $ git add target.php
$ git add -u
$ git rm --cached target.php
$ git rm target.php
$ git status
$ git diff
- 69. $ git add target.php
$ git add -u
$ git rm --cached target.php
$ git rm target.php
$ git status
$ git diff
$ git checkout target.php
- 70. $ git add target.php
$ git add -u
$ git rm --cached target.php
$ git rm target.php
$ git status
$ git diff
$ git checkout target.php
$ git reset HEAD target.php
- 74. $ git diff --cached
$ git commit
$ git commit --amend
- 75. $ git diff --cached
$ git commit
$ git commit --amend
$ git reset --soft HEAD^
- 78. $ git diff HEAD
git add -u && git commit
$ git commit -a
- 79. $ git diff HEAD
git add -u && git commit
$ git commit -a
$ git revert a5102ef4
- 80. $ git diff HEAD
git add -u && git commit
$ git commit -a
$ git revert a5102ef4
$ git reset --hard HEAD^
- 83. $ git checkout master
git branch branch1 && git checkout branch1
$ git checkout -b branch1
- 84. $ git checkout master
git branch branch1 && git checkout branch1
$ git checkout -b branch1
$ git merge new_function
$ git merge --no-commit new_function
- 89. $ git log
$ git diff HEAD^..HEAD
$ git branch
$ git branch experimental
- 90. $ git log
$ git diff HEAD^..HEAD
$ git branch
$ git branch experimental
$ git branch -d experimental
$ git branch -D experimental
- 94. $ git branch -r
$ git fetch origin
$ git merge origin/master
- 95. $ git branch -r
$ git fetch origin
$ git merge origin/master
git fetch origin && git merge origin/master
$ git pull origin master
- 96. $ git branch -r
$ git fetch origin
$ git merge origin/master
git fetch origin && git merge origin/master
$ git pull origin master
$ git push origin :experimental
- 97. $ git branch -r
$ git fetch origin
$ git merge origin/master
git fetch origin && git merge origin/master
$ git pull origin master
$ git push origin :experimental
$ git push origin master