fteqw icon indicating copy to clipboard operation
fteqw copied to clipboard

Introduce .gitattributes; normalize files.

Open ewhac opened this issue 2 years ago • 0 comments

Now that FTE has made the transition from Subversion to Git, use a .gitattributes file to handle newline conversions between different platforms. Normalize all relevant text files.

To normalize your local working copy:

  • Ensure you have a clean working tree (git stash can help here),
  • git pull to this commit.
  • Delete all files in your working copy (except for .git* files),
  • git checkout -- . This will re-populate your working copy from the git repo with newlines appropriate for your platform.

See gitattributes(7) for more details.

ewhac avatar Jan 24 '23 08:01 ewhac