Created
April 26, 2021 17:17
-
-
Save learnit-codeit/d2049bc2adc9d516df0cb06685c7db38 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
$ git push origin test | |
$ git pull | |
You asked me to pull without telling me which branch you | |
want to merge with, and 'branch.test.merge' in | |
your configuration file does not tell me, either. Please | |
specify which branch you want to use on the command line and | |
try again (e.g. 'git pull <repository> <refspec>'). | |
See git-pull(1) for details. | |
If you often merge with the same branch, you may want to | |
use something like the following in your configuration file: | |
[branch "test"] | |
remote = <nickname> | |
merge = <remote-ref> | |
[remote "<nickname>"] | |
url = <url> | |
fetch = <refspec> | |
See git-config(1) for details. | |
=============================== | |
$ git push -u origin test | |
Branch test set up to track remote branch test from origin. | |
Everything up-to-date | |
$ git pull | |
Already up-to-date. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment