···2626The following example illustrates this:
27272828```shell
2929-git push origin HEAD:refs/for/master
2929+git push origin HEAD:refs/for/main
3030```
31313232The command has the following structure:
···4242 - `description`: The PR description
4343 - `force-push`: confirm force update the target branch
44444545-Here's another advanced example for creating a new PR targeting `master` with `topic`, `title`, and `description`:
4545+Here's another advanced example for creating a new PR targeting `main` with `topic`, `title`, and `description`:
46464747```shell
4848-git push origin HEAD:refs/for/master -o topic="Topic of my PR" -o title="Title of the PR" -o description="# The PR Description\nThis can be **any** markdown content.\n- [x] Ok"
4848+git push origin HEAD:refs/for/main -o topic="Topic of my PR" -o title="Title of the PR" -o description="# The PR Description\nThis can be **any** markdown content.\n- [x] Ok"
4949```
+3-3
docs/content/usage/agit-support.zh-cn.md
···2626下面的示例说明了这一点:
27272828```shell
2929-git push origin HEAD:refs/for/master
2929+git push origin HEAD:refs/for/main
3030```
31313232该命令的结构如下:
···4242 - `description`:PR 的描述
4343 - `force-push`:确认强制更新目标分支
44444545-下面是另一个高级示例,用于创建一个以 `topic`、`title` 和 `description` 为参数的新 PR,目标分支是 `master`:
4545+下面是另一个高级示例,用于创建一个以 `topic`、`title` 和 `description` 为参数的新 PR,目标分支是 `main`:
46464747```shell
4848-git push origin HEAD:refs/for/master -o topic="Topic of my PR" -o title="Title of the PR" -o description="# The PR Description\nThis can be **any** markdown content.\n- [x] Ok"
4848+git push origin HEAD:refs/for/main -o topic="Topic of my PR" -o title="Title of the PR" -o description="# The PR Description\nThis can be **any** markdown content.\n- [x] Ok"
4949```