Created
November 18, 2015 19:43
-
-
Save braoru/985609daa52b0c6eccac to your computer and use it in GitHub Desktop.
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
Deutheros:dev braoru$ git clone git@github.com:braoru/test123.git | |
Cloning into 'test123'... | |
The authenticity of host 'github.com (192.30.252.130)' can't be established. | |
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8. | |
Are you sure you want to continue connecting (yes/no)? yes | |
Warning: Permanently added 'github.com,192.30.252.130' (RSA) to the list of known hosts. | |
remote: Counting objects: 4, done. | |
remote: Compressing objects: 100% (3/3), done. | |
remote: Total 4 (delta 0), reused 0 (delta 0), pack-reused 0 | |
Receiving objects: 100% (4/4), done. | |
Checking connectivity... done. | |
Deutheros:dev braoru$ cd test123/ | |
Deutheros:test123 braoru$ mkdir 123 | |
Deutheros:test123 braoru$ echo "hello" > 123/otto.txt | |
Deutheros:test123 braoru$ git add 123/ | |
Deutheros:test123 braoru$ git add 123/otto.txt | |
Deutheros:test123 braoru$ git commit -m "cleaning" | |
[master 0fde270] cleaning | |
1 file changed, 1 insertion(+) | |
create mode 100644 123/otto.txt | |
Deutheros:test123 braoru$ git push | |
warning: push.default is unset; its implicit value has changed in | |
Git 2.0 from 'matching' to 'simple'. To squelch this message | |
and maintain the traditional behavior, use: | |
git config --global push.default matching | |
To squelch this message and adopt the new behavior now, use: | |
git config --global push.default simple | |
When push.default is set to 'matching', git will push local branches | |
to the remote branches that already exist with the same name. | |
Since Git 2.0, Git defaults to the more conservative 'simple' | |
behavior, which only pushes the current branch to the corresponding | |
remote branch that 'git pull' uses to update the current branch. | |
See 'git help config' and search for 'push.default' for further information. | |
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode | |
'current' instead of 'simple' if you sometimes use older versions of Git) | |
Counting objects: 4, done. | |
Delta compression using up to 8 threads. | |
Compressing objects: 100% (2/2), done. | |
Writing objects: 100% (4/4), 361 bytes | 0 bytes/s, done. | |
Total 4 (delta 0), reused 0 (delta 0) | |
To git@github.com:braoru/test123.git | |
e896b7f..0fde270 master -> master | |
Deutheros:test123 braoru$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment