Created
September 11, 2013 14:20
-
-
Save sadah/6524303 to your computer and use it in GitHub Desktop.
first git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ファイル修正して、git statusで確認して、git add -Aで変更をローカルに追加する。 | |
git statusで確認して、git commit -m 'test commit.'でコミットして、git pushでgitに反映させる。 | |
⨠ git status | |
# On branch master | |
# Changes not staged for commit: | |
# (use "git add <file>..." to update what will be committed) | |
# (use "git checkout -- <file>..." to discard changes in working directory) | |
# | |
# modified: README.md | |
# | |
no changes added to commit (use "git add" and/or "git commit -a") | |
⨠ git add -A | |
⨠ git status | |
# On branch master | |
# Changes to be committed: | |
# (use "git reset HEAD <file>..." to unstage) | |
# | |
# modified: README.md | |
# | |
git commit -m 'test commit.' | |
[master 237c0dd] test commit. | |
1 file changed, 2 insertions(+), 1 deletion(-) | |
⨠ git push | |
Counting objects: 5, done. | |
Delta compression using up to 4 threads. | |
Compressing objects: 100% (3/3), done. | |
Writing objects: 100% (3/3), 302 bytes, done. | |
Total 3 (delta 1), reused 0 (delta 0) | |
To https://github.com/xxx/xxx.git | |
a54cec3..237c0dd HEAD -> master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment