Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

GitLink

Guides

  • Git Interfaces
  • GitLink
  • Git Reference Operations
  • Low Level Git Operations

Symbols

  • GitAdd
  • GitAddRemote
  • GitAheadBehind
  • GitBranchQ
  • GitCheckoutReference
  • GitClone
  • GitClose
  • GitCommit
  • GitCommitQ
  • GitCreateBranch
  • GitCreateTag
  • GitDeleteBranch
  • GitDeleteRemote
  • GitDeleteTag
  • GitExpandTree
  • GitFetch
  • GitInit
  • GitMergeBase
  • GitMerge
  • GitMoveBranch
  • GitObject
  • GitOpen
  • GitProperties
  • GitPull
  • GitRange
  • GitReadBlob
  • GitRemoteQ
  • GitRepo
  • GitRepoQ
  • GitRepos
  • GitReset
  • GitSetUpstreamBranch
  • GitSHA
  • GitSignature
  • GitStatus
  • GitType
  • GitUpstreamBranch
  • GitWriteBlob
  • GitWriteTree
  • ToGitObject
Wolfram`GitLink`
GitCreateBranch
​
GitCreateBranch
[repo,branch]
creates a branch with the name
branch
pointing to the HEAD commit of
repo
.
​
​
GitCreateBranch
[repo,branch,ref]
creates the branch pointing to the reference
ref
.
​
Details
▪
GitCreateBranch
returns
True
if it succeeds, and
False
otherwise.
▪
ref
can be a branch or tag name, a full or short SHA, or a
GitObject
.
▪
GitCreateBranch
takes the following options:
"Checkout"
False
whether to check out the branch
"Force"
False
whether to overwrite an existing branch with the same name which may be pointing elsewhere
"UpstreamBranch"
None
which branch to set as the upstream branch
▪
If
"UpstreamBranch"
Automatic
is specified and
ref
is a remote branch, then the upstream branch will be set to
ref
.
SeeAlso
GitBranchQ
 
▪
GitMoveBranch
 
▪
GitDeleteBranch
 
▪
GitCreateTag
 
▪
GitUpstreamBranch
 
▪
GitSetUpstreamBranch
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com