Skip to content

Add .gdbinit to .gitignore#3665

Closed
dingodoppelt wants to merge 1 commit intojamulussoftware:mainfrom
dingodoppelt:patch-1
Closed

Add .gdbinit to .gitignore#3665
dingodoppelt wants to merge 1 commit intojamulussoftware:mainfrom
dingodoppelt:patch-1

Conversation

@dingodoppelt
Copy link
Copy Markdown
Contributor

@dingodoppelt dingodoppelt commented Apr 30, 2026

Short description of changes
This adds .gdbinit to .gitignore

CHANGELOG: Ignore .gdbinit in .gitignore

Does this change need documentation? What needs to be documented and how?
No

Status of this Pull Request
Complete, feel free to merge

Checklist

  • I've verified that this Pull Request follows the general code principles
  • I tested my code and it does what I want
  • My code follows the style guide
  • I waited some time after this Pull Request was opened and all GitHub checks completed without errors.
  • I've filled all the content above

@softins
Copy link
Copy Markdown
Member

softins commented Apr 30, 2026

I've no objection to this, but feel it's worth pointing out that for ignoring files like this system-wide, that are not really project-specific, you can add them to ~/.config/git/ignore. For example on my system:

tony@pi:~ $ cat .config/git/ignore
*.out
*.out[0-9]
*.out[0-9][0-9]
*.log
.vimrc
.gdbinit

@dingodoppelt
Copy link
Copy Markdown
Contributor Author

I've no objection to this, but feel it's worth pointing out that for ignoring files like this system-wide, that are not really project-specific, you can add them to ~/.config/git/ignore. For example on my system:

tony@pi:~ $ cat .config/git/ignore
*.out
*.out[0-9]
*.out[0-9][0-9]
*.log
.vimrc
.gdbinit

Learned something very useful today, thanks :)

@dingodoppelt
Copy link
Copy Markdown
Contributor Author

As recommended by @softins I'll use the local version and close this.

@pljones
Copy link
Copy Markdown
Collaborator

pljones commented Apr 30, 2026

Yep, I wasn't aware of that either!

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

Successfully merging this pull request may close these issues.

3 participants