Code Monkey home page Code Monkey logo

dotnet-sandbox's Introduction

.NET Sandbox

Sandbox monorepo to try things out in the .NET ecosystem.

This repository is first organized by the broad version of .NET is being used (e.g. it distinguishes .NET Core from .NET 6 and beyond).

As with my other "sandbox" repositories, each directory here is its own, self-contained project. Look for code and documentation in those directories, to learn more.

Git and line endings

We're dealing with Windows and at the very least Microsoft technologies, which means CRLF line endings will appear from time to time (even the dotnet CLI creates files with these, on some occasions).

What's a developer to do? Consult these helpful posts:

Make a .gitattributes file

Make some variation of the following, so that new files get added to Git with the correct line endings, regardless of any particular user's Git config. Personally, I haven't found grokking the nuances of and policing everyone's autocrlf Git config to be a very productive use of my time. I'd rather the repository just set it, without requiing any user intervention.

* text=auto eol=lf

Git commands

Some variety of these commands may be helpful as well.

#What line endings are in the repository?
git ls-files --eol

#Re-normalize line endings in Git index
git add --renormalize .

#Re-create files in working directory so they match the Git index
git checkout-index --force --all

dotnet-sandbox's People

Contributors

kkrull avatar

Watchers

James Cloos avatar Mihigo Rugamba avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.