Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to disable empty commits to repositories #848

Open
joewesch opened this issue Dec 11, 2024 · 0 comments
Open

Add an option to disable empty commits to repositories #848

joewesch opened this issue Dec 11, 2024 · 0 comments

Comments

@joewesch
Copy link
Contributor

Environment

  • Nautobot version: 2.3.3
  • nautobot-golden-config version: 2.1.2

Proposed Functionality

Add an option to disable pushing empty commits to repositories by checking if there are any changes to push before creating a commit message and pushing it up.

Use Case

When running the backup job on a set of devices that don't change very often, the repo git history can be full of useless empty commits. This can make it hard to narrow down a timeline of recent changes when looking at the git history of the repository as a whole.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant