why does git update-ref also stage the files between old and new commits?
I’ve a script that refreshes the index to latest commit but git also stages the files changed between the old and new commits which I don’t expect.
I’ve a script that refreshes the index to latest commit but git also stages the files changed between the old and new commits which I don’t expect.