Home > Net >  Is pushing code from MacOS the same as pushing from Windows ? ( C# )
Is pushing code from MacOS the same as pushing from Windows ? ( C# )

Time:01-07

I know it's an easy answer to answer but after searching online there's no trusted source that validated this for me.

If I created a repository from a Windows machine and had to code from a MacOS machine for some function or just because that's what I had at the moment, if I push to the repository from the Mac, will it had extra "Mac files" or "Mac compilation" files that could break the solution when pulled on the windows machine or published to the Azure Server ?

Thank you

CodePudding user response:

You should have a .gitignore for macOS such as the example given by github below: https://github.com/github/gitignore/blob/main/Global/macOS.gitignore

The presence of the files won't be destructive to your cause, however they would be annoying to have to manually remove. https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files

  •  Tags:  
  • Related