Skip to content

Git rename but GitHub shows it as added file and deleted file #43177

Answered by spenserblack
shirady asked this question in General
Discussion options

You must be logged in to vote

Just curious, were you using Windows when you did this? Git on Windows can automatically convert line endings depending on settings, so perhaps the commit tracks different line endings than the original file had.

Replies: 4 comments 15 replies

Comment options

You must be logged in to vote
2 replies
@shirady
Comment options

@LuisContrerasGlz
Comment options

Comment options

You must be logged in to vote
2 replies
@shirady
Comment options

@airtower-luna
Comment options

Comment options

You must be logged in to vote
10 replies
@shirady
Comment options

@CoolGuyMK
Comment options

@shirady
Comment options

@zdenkolini
Comment options

@skylupop
Comment options

Answer selected by shirady
Comment options

You must be logged in to vote
1 reply
@jabielecki
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working correctly Git and Code General
9 participants