Skip to content

Introduce .gitattributes; normalize files.#163

Open
ewhac wants to merge 2 commits intofte-team:masterfrom
ewhac:gitification
Open

Introduce .gitattributes; normalize files.#163
ewhac wants to merge 2 commits intofte-team:masterfrom
ewhac:gitification

Conversation

@ewhac
Copy link
Copy Markdown
Contributor

@ewhac ewhac commented Jan 24, 2023

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 added 2 commits January 24, 2023 00:08
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.
Help keep unwanted files/directories from being considered for checkin.
@Xylemon Xylemon added the enhancement New feature or request label Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants