Click here to Skip to main content
15,885,032 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to insert third party licensing/copyright info into all of my source files. To simplify this process, I would like to define keywords that GIT can automatically expand into the full copyright text, similar to keywords like @version.

Is it possible to define my own keywords? If so, what do I need to do?

Or is there an existing keyword which lets me define the text that it will be replaced with?

What I have tried:

I have searched the web, but all hits only show how to use standard keyword expansion, not how to define a new one, or whether it is possible at all.
Posted
Updated 24-Sep-21 0:00am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900