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: docs/content/usage/agit-support.en-us.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ This can be done by pushing to the branch followed by a specific refspec (a loca
26
26
The following example illustrates this:
27
27
28
28
```shell
29
-
git push origin HEAD:refs/for/master
29
+
git push origin HEAD:refs/for/main
30
30
```
31
31
32
32
The command has the following structure:
@@ -42,8 +42,8 @@ The command has the following structure:
42
42
-`description`: The PR description
43
43
-`force-push`: confirm force update the target branch
44
44
45
-
Here's another advanced example for creating a new PR targeting `master` with `topic`, `title`, and `description`:
45
+
Here's another advanced example for creating a new PR targeting `main` with `topic`, `title`, and `description`:
46
46
47
47
```shell
48
-
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"
48
+
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"
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"
48
+
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"
0 commit comments