git

ignore file permissions in git

Intro git config --global core.fileMode false Resources https://tecadmin.net/git-ignore-file-permission/

Git fatal: unknown index entry format 0x72000000

Intro I used a recursive git rename, but thoughtlessly used it at the top level of my project, where my .git could be effected. Git then broke on all commands with error, fatal: unknown index entry format 0x72000000 Thankfully this can be easily fixed by removing and resetting the git index1. $ rm -rf .git/index $ git reset Instead of the rm I just moved the git to a safe place in case I needed something less destructive.

guix pull: error: Git error: the SSL certificate is invalid

Intro I am trying to ease my way into GUIX by starting with just using it as a package manager, but my effort was stalled early. I’m getting: $ guix pull Updating channel ‘nonguix’ from Git repository at ‘https://gitlab.com/nonguix/nonguix'… guix pull: error: Git error: the SSL certificate is invalid This is occurring after adding a couple to channels.scm: (cons* (channel (name 'nonguix) (url "https://gitlab.com/nonguix/nonguix") (introduction (make-channel-introduction "897c1a470da759236cc11798f4e0a5f7d4d59fbc" (openpgp-fingerprint "2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5")))) (channel (name 'flat) (url "https://github.

Fix invalid submodule error when using straight.el

My ordinary workflow was to start emacs with a load into my orgmode agenda, which locates me in my .emacs git-project. Upon inspecting my agenda I’ll go to some project from my todo list using helm-projectile. However, after switching to Staight.el (which does its heavy lifting with git) this workflow was broken. The result is that, when I try to use projectile from somewhere that Git includes Straight stuff, I get this failure about submodules: