:git: #git submodules are kinda terrible. Why do I again have to write 100 lines of :bash: to have it do what `git submodule sync|update|whatever` should do itself:
- ensure the correct branch is checked out in the submodule at the correct commit pinned in the toplevel repo
- ensure that branch correctly follows the remote branch
- ensure remote.<name>.fetch is correctly set so g…
»Over 600 Laravel Apps Exposed to Remote Code Execution Due to Leaked APP_KEYs on GitHub:
Cybersecurity researchers have discovered a serious security issue that allows leaked Laravel APP_KEY's to be weaponized to gain remote code execution capabilities on hundreds of applications.«
Never store your access keys in Git, especially not in the code – do programmers need to be taught this?!??
🔓
I feel stupid for asking this… but is there still no good way to checkout and later pull a pull request branch from another repo?
We've got `gh pr checkout NUMBER` but the only way I've found to fetch updates is to delete the local branch and start over.
I really don't want to play adlib with manually adding remotes etc – is this still the best we can do in 2025??
EDIT: it’s solved! 🎉
Today I finally remembered the syntax to delete a remote git branch: `git push origin --delete 42_not_needed_branch` (and was brave enought to just execute it without checking, yolo)