OBSOLETE
Use Fake.Tools.Git.Branches instead
Branches
Contains helper functions which allow to deal with git branches.
Functions and values
Function or value | Description |
checkout repositoryDir create branch
Signature: repositoryDir:string -> create:bool -> branch:string -> unit
Attributes: [<Obsolete("Use Fake.Tools.Git.Branches instead")>] |
OBSOLETEUse Fake.Tools.Git.Branches instead Performs a checkout of the given branch to the working copy. Parameters
|
checkoutBranch repositoryDir branch
Signature: repositoryDir:string -> branch:string -> unit
Attributes: [<Obsolete("Use Fake.Tools.Git.Branches instead")>] |
OBSOLETEUse Fake.Tools.Git.Branches instead Performs a checkout of the given branch to the working copy. Parameters
|
checkoutNewBranch(...)
Signature: repositoryDir:string -> baseBranch:string -> branch:string -> unit
Attributes: [<Obsolete("Use Fake.Tools.Git.Branches instead")>] |
OBSOLETEUse Fake.Tools.Git.Branches instead Creates a new branch based on the given baseBranch and checks it out to the working copy. Parameters
|
checkoutTracked(...)
Signature: repositoryDir:string -> trackBranch:string -> branch:string -> unit
Attributes: [<Obsolete("Use Fake.Tools.Git.Branches instead")>] |
OBSOLETEUse Fake.Tools.Git.Branches instead Performs a checkout of the given branch with an additional tracking branch. Parameters
|
createBranch(...)
Signature: repositoryDir:string -> newBranchName:string -> commit:string -> unit
Attributes: [<Obsolete("Use Fake.Tools.Git.Branches instead")>] |
OBSOLETEUse Fake.Tools.Git.Branches instead Creates a new branch from the given commit. Parameters
|
deleteBranch repositoryDir force branch
Signature: repositoryDir:string -> force:bool -> branch:string -> unit
Attributes: [<Obsolete("Use Fake.Tools.Git.Branches instead")>] |
OBSOLETEUse Fake.Tools.Git.Branches instead Deletes the given branch. Parameters
|
deleteTag repositoryDir tag
Signature: repositoryDir:string -> tag:string -> unit
Attributes: [<Obsolete("Use Fake.Tools.Git.Branches instead")>] |
OBSOLETEUse Fake.Tools.Git.Branches instead Deletes the given tag. Parameters
|
findMergeBase(...)
Signature: repositoryDir:string -> commit1:string -> commit2:string -> string
Attributes: [<Obsolete("Use Fake.Tools.Git.Branches instead")>] |
OBSOLETEUse Fake.Tools.Git.Branches instead Returns the SHA1 of the merge base of the two given commits from the given repository. Parameters
|
getAllBranches(repositoryDir)
Signature: repositoryDir:string -> string list
Attributes: [<Obsolete("Use Fake.Tools.Git.Branches instead")>] |
OBSOLETEUse Fake.Tools.Git.Branches instead Gets all local and remote branches from the given repository. |
getLocalBranches(repositoryDir)
Signature: repositoryDir:string -> string list
Attributes: [<Obsolete("Use Fake.Tools.Git.Branches instead")>] |
OBSOLETEUse Fake.Tools.Git.Branches instead Gets all local branches from the given repository. |
getRemoteBranches(repositoryDir)
Signature: repositoryDir:string -> string list
Attributes: [<Obsolete("Use Fake.Tools.Git.Branches instead")>] |
OBSOLETEUse Fake.Tools.Git.Branches instead Gets all remote branches from the given repository. |
getSHA1 repositoryDir commit
Signature: repositoryDir:string -> commit:string -> string
Attributes: [<Obsolete("Use Fake.Tools.Git.Branches instead")>] |
OBSOLETEUse Fake.Tools.Git.Branches instead Returns the SHA1 of the given commit from the given repository. Parameters
|
pull repositoryDir remote branch
Signature: repositoryDir:string -> remote:string -> branch:string -> unit
Attributes: [<Obsolete("Use Fake.Tools.Git.Branches instead")>] |
OBSOLETEUse Fake.Tools.Git.Branches instead Pulls a given branch from the given remote. Parameters
|
push(repositoryDir)
Signature: repositoryDir:string -> unit
Attributes: [<Obsolete("Use Fake.Tools.Git.Branches instead")>] |
OBSOLETEUse Fake.Tools.Git.Branches instead Pushes all branches to the default remote. Parameters
|
pushBranch repositoryDir remote branch
Signature: repositoryDir:string -> remote:string -> branch:string -> unit
Attributes: [<Obsolete("Use Fake.Tools.Git.Branches instead")>] |
OBSOLETEUse Fake.Tools.Git.Branches instead Pushes the given branch to the given remote. Parameters
|
pushTag repositoryDir remote tag
Signature: repositoryDir:string -> remote:string -> tag:string -> unit
Attributes: [<Obsolete("Use Fake.Tools.Git.Branches instead")>] |
OBSOLETEUse Fake.Tools.Git.Branches instead Pushes the given tag to the given remote. Parameters
|
revisionsBetween(...)
Signature: repositoryDir:string -> commit1:string -> commit2:string -> int
Attributes: [<Obsolete("Use Fake.Tools.Git.Branches instead")>] |
OBSOLETEUse Fake.Tools.Git.Branches instead Returns the number of revisions between the two given commits. Parameters
|
tag repositoryDir tag
Signature: repositoryDir:string -> tag:string -> unit
Attributes: [<Obsolete("Use Fake.Tools.Git.Branches instead")>] |
OBSOLETEUse Fake.Tools.Git.Branches instead Tags the current branch. Parameters
|