4 ms·
Years ago, when moving off svn to git, I cursed the fact that there was no such string replacement feature. I understand why it doesn't exist, but when it was a
by paradox460 2y ago
Years ago, when moving off svn to git, I cursed the fact that there was no such string replacement feature. I understand why it doesn't exist, but when it was an obstacle to my job, I loathed it.
It was easy enough to replace with a short script, and I use a variation of that to this date
- bananskalhalk 2y agoThere is a string replacement feature, and to my knowledge it has been there the whole time. https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes https://git-scm.com/book/en/v2/Customizing-Git-Git-Attribute... look under "Keyword Expansion" halfway down the page.