diff options
Diffstat (limited to 'docs/gl_objects/branches.rst')
| -rw-r--r-- | docs/gl_objects/branches.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/gl_objects/branches.rst b/docs/gl_objects/branches.rst index aeba8ea..a9c80c0 100644 --- a/docs/gl_objects/branches.rst +++ b/docs/gl_objects/branches.rst @@ -22,12 +22,12 @@ Get the list of branches for a repository:: Get a single repository branch:: - branch = project.branches.get('master') + branch = project.branches.get('main') Create a repository branch:: branch = project.branches.create({'branch': 'feature1', - 'ref': 'master'}) + 'ref': 'main'}) Delete a repository branch:: |
