Skip to content

Commit

Permalink
Merge pull request #24627 from github/repo-sync
Browse files Browse the repository at this point in the history
repo sync
  • Loading branch information
Octomerger authored Mar 23, 2023
2 parents ec2d0b4 + 7a53f83 commit 65c8204
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,14 @@ If possible, create branch and tag names that don't contain special characters,
* forward slash (`/`)

To avoid confusion, you should start branch names with a letter.

{% ifversion fpt or ghec or ghes > 3.8 %}

## Restrictions on names in {% data variables.product.prodname_dotcom %}

{% data variables.product.prodname_dotcom %} restricts a small number of branch and tag names from being pushed up.
Those restrictions are:
- No names which look like Git object IDs (40 characters containing only 0-9 and A-F), to prevent confusion with actual Git object IDs.
- No names beginning with `refs/`, to prevent confusion with the full name of Git refs. For more information about refs, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation.

{% endif %}

0 comments on commit 65c8204

Please sign in to comment.