Assuming I have a text file
alex
bob
matrix
will be removed
git repo
and I have updated it to be
alex
new line here
another new line
bob
matrix
git
Here, I have added lines number (2,3) and updated line number (6)
How can I get these line numbers info using git diff or any other git command?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…