Git-ToolGit-Tool
Getting Started
  • Introduction
  • Repositories
  • Scratchpads
  • Development
  • Config Management
  • Setup
  • Introduction
  • Applications
  • Services
  • Features
  • Registry
  • Templates
Download
Report an Issue
GitHub
Getting Started
  • Introduction
  • Repositories
  • Scratchpads
  • Development
  • Config Management
  • Setup
  • Introduction
  • Applications
  • Services
  • Features
  • Registry
  • Templates
Download
Report an Issue
GitHub
  • Getting Started

    • Getting Started
    • Installation Guide
    • Basic Usage
    • Linking to GitHub
    • Updating Git-Tool
    • Migrating to v3.x
    • Reporting Errors
    • Frequently Asked Questions

Frequently Asked Questions

Default Git branch names

When you create a new repository with Git-Tool, it will be initialized using git init. This will, by default, create a branch called master but with you might wish to use something else. For a while, Git-Tool allowed you to use main instead, however with Git now allowing you to configure the default branch name, you can now use anything you wish.

To set this up, you should run the following command.

git config --global init.defaultBranch main
Edit this page
Last Updated:: 16/05/2025, 07:47
Contributors: notheotherben
Prev
Reporting Errors