info > DEBCOMMIT

📛 NAME

debcommit - commit changes to a package

🚀 Quick Reference

Use Case Command Description
Commit changes with auto-generated message from changelog debcommit Commits all changed files using the new changelog entry as commit message
Commit a package release (with tag) debcommit -r Commits and tags the release based on the version in debian/changelog
Dry run (show what would be committed) debcommit -n Prints commands without executing them
Show diff of pending changes debcommit -d Prints the diff that would be committed
Commit with a custom message debcommit -m "message" Uses the provided message instead of changelog-based one
Commit all files (default for non-git VCS) debcommit -a Commits all modified files (default for CVS, SVN, etc.)
Edit commit message before committing debcommit -e Opens editor to fine-tune the generated message
Sign commits debcommit --sign-commit Signs commits with GPG (git, hg, bzr only)
Sign tags debcommit --sign-tags Signs tags with GPG (git only)
Use changelog author/date for commit debcommit --changelog-info Sets commit author and date from Maintainer and Date fields

🔧 SYNOPSIS

debcommit [options] [--all | files to commit]

📖 DESCRIPTION

debcommit generates a commit message based on new text in debian/changelog, and commits the change to a package's repository. It must be run in a working copy for the package. Supported version control systems are: cvs, git, hg (mercurial), svk, svn (Subversion), baz, bzr, tla (arch), darcs.

⚙️ OPTIONS

🛠️ CONFIGURATION VARIABLES

The two configuration files /etc/devscripts.conf and ~/.devscripts are sourced by a shell in that order to set configuration variables. Command line options can be used to override configuration file settings. Environment variable settings are ignored for this purpose. The currently recognised variables are:

🔄 VCS SPECIFIC FEATURES

🐙 tla / baz

If the commit message contains more than 72 characters, a summary will be created containing as many full words from the message as will fit within 72 characters, followed by an ellipsis.

Each of the features described below is applicable only if the commit message has been automatically determined from the changelog.

🐙 git

If only a single change is detected in the changelog, debcommit will unfold it to a single line and behave as if --strip-message was used.

Otherwise, the first change will be unfolded and stripped to form a summary line and a commit message formed using the summary line followed by a blank line and the changes as extracted from the changelog. debcommit will then spawn an editor so that the message may be fine-tuned before committing.

🐙 hg / darcs

The first change detected in the changelog will be unfolded to form a single line summary. If multiple changes were detected then an editor will be spawned to allow the message to be fine-tuned.

🐙 bzr

If the changelog entry used for the commit message closes any bugs then --fixes options to "bzr commit" will be generated to associate the revision and the bugs.

📜 LICENSE

This code is copyright by Joey Hess <joeyh AT debian.org>, all rights reserved. This program comes with ABSOLUTELY NO WARRANTY. You are free to redistribute this code under the terms of the GNU General Public License, version 2 or later.

👤 AUTHOR

Joey Hess <joeyh AT debian.org>

🔗 SEE ALSO

debchange(1), svnpath(1)

DEBCOMMIT
📛 NAME 🚀 Quick Reference 🔧 SYNOPSIS 📖 DESCRIPTION ⚙️ OPTIONS 🛠️ CONFIGURATION VARIABLES 🔄 VCS SPECIFIC FEATURES
🐙 tla / baz 🐙 git 🐙 hg / darcs 🐙 bzr
📜 LICENSE 👤 AUTHOR 🔗 SEE ALSO

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-09 10:24 @2600:1f28:365:80b0:50b3:453e:ff52:20f7
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format

^_top_^