|
1 |
| -import { filepaths } from '../../helpers/filepaths'; import { keyValue } from '../../helpers/keyvalue'; |
| 1 | +/*--------------------------------------------------------------------------------------------- |
| 2 | + * Copyright (c) Microsoft Corporation. All rights reserved. |
| 3 | + * Licensed under the MIT License. See License.txt in the project root for license information. |
| 4 | + *--------------------------------------------------------------------------------------------*/ |
| 5 | + |
| 6 | +import { filepaths } from '../../helpers/filepaths'; |
| 7 | +import { keyValue } from '../../helpers/keyvalue'; |
2 | 8 |
|
3 | 9 | const filterMessages = (out: string): string => {
|
4 | 10 | return out.startsWith("warning:") || out.startsWith("error:")
|
@@ -1574,8 +1580,8 @@ Pass additional 'git clone' flags by listing them after '--'`,
|
1574 | 1580 | To create a repository interactively, use 'gh repo create' with no arguments.
|
1575 | 1581 | To create a remote repository non-interactively, supply the repository name and one of '--public', '--private', or '--internal'.
|
1576 | 1582 | Pass '--clone' to clone the new repository locally.
|
1577 |
| -To create a remote repository from an existing local repository, specify the source directory with '--source'. |
1578 |
| -By default, the remote repository name will be the name of the source directory. |
| 1583 | +To create a remote repository from an existing local repository, specify the source directory with '--source'. |
| 1584 | +By default, the remote repository name will be the name of the source directory. |
1579 | 1585 | Pass '--push' to push any local commits to the new repository`,
|
1580 | 1586 | args: {
|
1581 | 1587 | name: "name",
|
@@ -1726,7 +1732,7 @@ Pass '--push' to push any local commits to the new repository`,
|
1726 | 1732 | name: "delete",
|
1727 | 1733 | description: `Delete a GitHub repository.
|
1728 | 1734 | With no argument, deletes the current repository. Otherwise, deletes the specified repository.
|
1729 |
| -Deletion requires authorization with the "delete_repo" scope. |
| 1735 | +Deletion requires authorization with the "delete_repo" scope. |
1730 | 1736 | To authorize, run "gh auth refresh -s delete_repo"`,
|
1731 | 1737 | isDangerous: true,
|
1732 | 1738 | args: {
|
@@ -2003,7 +2009,7 @@ By default, this renames the current repository; otherwise renames the specified
|
2003 | 2009 | of the source repository to update the matching branch on the destination
|
2004 | 2010 | repository so they are equal. A fast forward update will be used execept when the
|
2005 | 2011 | '--force' flag is specified, then the two branches will
|
2006 |
| -by synced using a hard reset. |
| 2012 | +by synced using a hard reset. |
2007 | 2013 | Without an argument, the local repository is selected as the destination repository.
|
2008 | 2014 | The source repository is the parent of the destination repository by default.
|
2009 | 2015 | This can be overridden with the '--source' flag`,
|
|
0 commit comments