I can't seem to figure out how to specify this in my ~/.gitconfig so that anytime I run git diff <filename> it will automatically include -U<line number> by default so I don't have to enter it each time.
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about CollectivesStack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
Explore Stack InternalI can't seem to figure out how to specify this in my ~/.gitconfig so that anytime I run git diff <filename> it will automatically include -U<line number> by default so I don't have to enter it each time.