I am trying to maintain my c program files by pushing them to GitHub. So I only push the files with the extension CPP, so that I don't include the binaries as well.
Here are my gitignore file contents
# Ignore all
*
# Unignore all with extensions
!*.*
# Unignore all dirs
!*/
### Above combination will ignore all files without extension ###
.vscode/
CodePudding user response:
Looks like there's a bug in .gitignore
handling in the just-released Git 2.34.0. The patch (2.34.1) should be out any day now.