Skip to content

Instantly share code, notes, and snippets.

View dlford's full-sized avatar

Dan Ford dlford

View GitHub Profile

Keybase proof

I hereby claim:

  • I am dlford on github.
  • I am dlford (https://keybase.io/dlford) on keybase.
  • I have a public key ASCxAM5NhwduKrHNRtpIEr5RT-CDWo-LbzvFpzI4l8ox-wo

To claim this, I am signing this object:

@dlford
dlford / README.md
Created March 8, 2022 21:50
Git Remove Submodule

Remove a submodule from git

git rm .gitmodules # Or edit, if there are some submodules to be kept

edit .git/config, remove the submodule lines, e.g.
  [submodule "cms-core-ops"]
  101   url = [email protected]:dlford/cms-core-ops.git
  102   active = true
 
@dlford
dlford / cacheremove.hook
Created February 1, 2022 14:30 — forked from luukvbaal/cacheremove.hook
yay paccache hooks
[Trigger]
Operation = Remove
Type = Package
Target = *
[Action]
Description = Clearing cache...
When = PostTransaction
Exec = /home/<user>/.local/bin/tools/removehook