$ echo 'this is baz' > foo/baz $ git add foo/bar $ git commit # On branch master # Your branch is ahead of 'origin/master' by 7 commits. # # 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: foo/bar # CBSͷΈΠϯσοΫεʹొ CB[ίϛοτର
git add b c d $ git commit -m "c,d commited" c d $ echo 'REWRITE' > d $ git status # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # new file: b # # 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: d # # Untracked files: # (use "git add <file>..." to include in what will be committed) # # a εςʔδঢ়ଶʢίϛοτͪʣ मਖ਼ঢ়ଶʢεςʔδ ະঢ়
git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "mars". The branch, 1.10 has been updated via f46534818a5432b212e2a24c9d00f706ba7df5f4 (commit) from 3759217a665beabb6f17a81c8e3b26b5c9c02920 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit f46534818a5432b212e2a24c9d00f706ba7df5f4 Author: {your_name} <{your_email}> Date: Thu Apr 19 13:39:12 2012 +0900 first commit ----------------------------------------------------------------------- Summary of changes: VERSION | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) hooks/post-receive -- mars ϒϥϯνใɺίϛοτϋογϡใ ίϛοτϩά มߋ͞ΕͨϑΝΠϧͷ
master -> master (non-fast-forward) error: failed to push some refs to 'git@{fqdn}:test' To prevent you from losing history, non-fast-forward updates were rejected Merge the remote changes (e.g. 'git pull') before pushing again. See the 'Note about fast-forwards' section of 'git push --help' for details. OPOGBTUGPSXBSEͱͳΓɺϓογϡʹࣦഊ͢
master -> master (non-fast-forward) error: failed to push some refs to 'git@{fqdn}:test' To prevent you from losing history, non-fast-forward updates were rejected Merge the remote changes (e.g. 'git pull') before pushing again. See the 'Note about fast-forwards' section of 'git push --help' for details. OPOGBTUGPSXBSEͱͳΓɺϓογϡʹࣦഊ͢
# Your branch and 'origin/master' have diverged, # and have 1 and 1 different commit(s) each, respectively. # # Unmerged paths: # (use "git add/rm <file>..." as appropriate to mark resolution) # # both modified: hello # $ cat hello <<<<<<< HEAD WRITE FROM REP-B ======= WRITE FROM REP-A >>>>>>> 22a17381b6a514b0eaa511fa0c76edb7ba0bc46b Ϛʔδʹࣦഊͨ͠ϑΝΠϧͷҰ