Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a new branch in a repository and points the branch to a commit.
Creating a Request
Creates a value of CreateBranch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cbRepositoryName
- The name of the repository in which you want to create the new branch.cbBranchName
- The name of the new branch to create.cbCommitId
- The ID of the commit to point the new branch to.
data CreateBranch Source #
Represents the input of a create branch operation.
See: createBranch
smart constructor.
Request Lenses
cbRepositoryName :: Lens' CreateBranch Text Source #
The name of the repository in which you want to create the new branch.
cbBranchName :: Lens' CreateBranch Text Source #
The name of the new branch to create.
cbCommitId :: Lens' CreateBranch Text Source #
The ID of the commit to point the new branch to.
Destructuring the Response
createBranchResponse :: CreateBranchResponse Source #
Creates a value of CreateBranchResponse
with the minimum fields required to make a request.
data CreateBranchResponse Source #
See: createBranchResponse
smart constructor.