Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased

### Changed

* Git no longer displays a message about the default branch name when calling `deploydocs()`. ([#2854])

## Version [v1.16.1] - 2025-11-21

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion src/deploydocs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ function git_push(
# Generate a closure with common commands for ssh and https
function git_commands(sshconfig = nothing)
# Setup git.
run(`$(git()) init`)
run(`$(git()) init --initial-branch=master`) # specify initial branch just to turn off the advice in the deploy logs
run(`$(git()) config user.name "Documenter.jl"`)
run(`$(git()) config user.email "documenter@juliadocs.github.io"`)
run(`$(git()) config commit.gpgsign false`)
Expand Down
Loading