2 ms·
Obligatory mention of https://github.com/tj/git-extras/blob/main/Commands.md https://github.com/tj/git-extras/blob/main/Commands.md for more/similar commands.
by kenmacd 2y ago
Obligatory mention of https://github.com/tj/git-extras/blob/main/Commands.md https://github.com/tj/git-extras/blob/main/Commands.md for more/similar commands.
Especially useful to me is `git bulk` to apply a command to all the git repos under the directory, and `git ignore "bin/"` to quickly add something to the `.gitignore` file.
- euroderf 2y ago> `git bulk` to apply a command to all the git repos under the directory There is also: gitup . -e "arbitraryShellCommand withArg"
- ahmetsait 2y agoI like these a lot! It seems like git-extras is pure bash allowing it to work out of the box without any dependencies but I would probably go mad if I had to implement¹ reading/writing git index² in bash. ¹ https://github.com/ahmetsait/toolgit/blob/58713ead5abc0605106ff7672d33d8afa3146fac/git-mode-restore#L362 https://github.com/ahmetsait/toolgit/blob/58713ead5abc060510... ² https://git-scm.com/docs/index-format https://git-scm.com/docs/index-format