You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ReadMe.pod
+8-16
Original file line number
Diff line number
Diff line change
@@ -230,8 +230,7 @@ Most of the commands described below have arguments. This section defines each
230
230
of the argument types. Note that argument values that are strings containing
231
231
whitespace need to be quoted.
232
232
233
-
Argument variable names are always indicated by angle brackets, like: C<<
234
-
<variable> >>. Arguments listed in square brackets are optional and arguments
233
+
Argument variable names are always indicated by angle brackets, like: C<<<variable> >>. Arguments listed in square brackets are optional and arguments
235
234
followed by C<...> indicate that more than one is allowed.
236
235
237
236
=over
@@ -577,8 +576,7 @@ issue instead of creating a new one.
577
576
578
577
If the default remote is a fork, the pull request will target the default
579
578
branch of the parent repository. Otherwise the pull request will target the
580
-
default branch of the default remote itself. Use C<--remote>, C<--branch>, C<--
581
-
parent>, and C<--base> options to change the default source remote, source
579
+
default branch of the default remote itself. Use C<--remote>, C<--branch>, C<--parent>, and C<--base> options to change the default source remote, source
582
580
branch, target remote and target branch (respectively).
583
581
584
582
This command will open an editor like C<git commit> does. To avoid that you
@@ -709,17 +707,15 @@ This will create a gist with a file '.gitignore'
709
707
710
708
Search for repositories.
711
709
712
-
By default it searches in the repository name, but you can change that: C<search-
713
-
repo "libyaml in:description">. For more information, see the search
710
+
By default it searches in the repository name, but you can change that: C<search-repo "libyaml in:description">. For more information, see the search
By default it searches in the login field, but you can change that: C<search-
722
-
user "wall in:fullname">. For more information, see the search documentation
718
+
By default it searches in the login field, but you can change that: C<search-user "wall in:fullname">. For more information, see the search documentation
723
719
at L<https://developer.github.com/v3/search/#search-users>
724
720
725
721
=item C<< search-issues <query> >>
@@ -1000,8 +996,7 @@ these commands (the C<git hub setup> command automates this):
1000
996
1001
997
You can also see all your tokens on the web at L<thispage|https://github.com/settings/applications>.
1002
998
1003
-
You can specify your API token to C<git hub> on the commandline with C<--
1004
-
token=...> or in the C<GIT_HUB_API_TOKEN> environment variable, but the
999
+
You can specify your API token to C<git hub> on the commandline with C<--token=...> or in the C<GIT_HUB_API_TOKEN> environment variable, but the
1005
1000
easiest thing to do is just set it in the git-hub config.
1006
1001
1007
1002
Certain token B<scopes> are required for various GitHub API operations. Make
@@ -1050,8 +1045,7 @@ is stale, you may want to try these options:
1050
1045
1051
1046
=head1 Colors
1052
1047
1053
-
You can have colored output. You can activate that by setting C<git hub config
1054
-
color auto>. It accepts the same values as C<git config color.ui> itself.
1048
+
You can have colored output. You can activate that by setting C<git hub configcolor auto>. It accepts the same values as C<git config color.ui> itself.
1055
1049
1056
1050
=head1 Examples
1057
1051
@@ -1108,11 +1102,9 @@ Assume your current working directory is not a GitHub repo:
1108
1102
$ # etc...
1109
1103
1110
1104
The C<git hub> command tries to be environmentally aware. If you are in a
1111
-
GitHub cloned repo directory, and you don't specify C<< <user> >> or C<<
1112
-
<owner> >> or C<< <repo> >> for a command that needs them, then they will be
1105
+
GitHub cloned repo directory, and you don't specify C<< <user> >> or C<<<owner> >> or C<< <repo> >> for a command that needs them, then they will be
1113
1106
pulled from the remote url. Otherwise, if you don't specify a C<< <user> >> it
1114
-
will use the one (presumably yours) that you set with the C<git hub config
1115
-
login ...> command.
1107
+
will use the one (presumably yours) that you set with the C<git hub configlogin ...> command.
0 commit comments