Created
October 20, 2016 22:00
-
-
Save Ikke/2efc37dd77af47939e0af5a445fa47c9 to your computer and use it in GitHub Desktop.
git test push.default
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
io git » git clone git-upstream git-downstream | |
Cloning into 'git-downstream'... | |
warning: You appear to have cloned an empty repository. | |
done. | |
io git » cd git-downstream | |
io git-downstream :: (master) » touch foo | |
io git-downstream :: (master*) » git add foo | |
io git-downstream :: (master*) » git commit | |
[master (root-commit) 03cdfed] foo | |
1 file changed, 0 insertions(+), 0 deletions(-) | |
create mode 100644 foo | |
io git-downstream :: (master) » git config push.default current | |
io git-downstream :: (master) » git push | |
Counting objects: 3, done. | |
Writing objects: 100% (3/3), 196 bytes | 0 bytes/s, done. | |
Total 3 (delta 0), reused 0 (delta 0) | |
To /home/kevin/misc/git/git-upstream | |
* [new branch] master -> master | |
io git-downstream :: (master) » git checkout -b branch | |
Switched to a new branch 'branch' | |
io git-downstream :: (branch) » echo bar>foo | |
io git-downstream :: (branch*) » git add foo | |
io git-downstream :: (branch*) » git commit | |
[branch 0c11cbf] bar | |
1 file changed, 1 insertion(+) | |
io git-downstream :: (branch) » git push | |
Counting objects: 3, done. | |
Writing objects: 100% (3/3), 230 bytes | 0 bytes/s, done. | |
Total 3 (delta 0), reused 0 (delta 0) | |
To /home/kevin/misc/git/git-upstream |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment