Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is there any example of gitignore file for umbraco 8 visual studio project?
Thanks
Silvija
For Umbraco 7, I've always referenced https://github.com/github/gitignore/blob/master/Umbraco.gitignore
It might work for v8 as well.
Its been i while i didnt need it, now I am again back to it. I have one more question, do you combine that gitigignore file with default visual studio gitignore, or you just delete vs default one and paste this one?
Hi all,
there is a slight change needed for Umbraco V8, see pull request on github.
https://github.com/github/gitignore/pull/3302
The change is to not ignore the new umbraco > views > packages folder and contents. By default it will be ignored.
/Michaël
I merge them, need the vstudio stuff also so you don't end up with a bunch of junk.
If you are ignoring the /Umbraco folder, the exclusion definitions (!) don't work in the file at https://github.com/github/gitignore/blob/master/Umbraco.gitignore
If you ignore a folder (/[Uu]mbraco/) no amount of exclusions will work under that folder so !/[Uu]mbraco/[Vv]iews/[Pp]ackages/* will never work.
The following will work by ignoring everything under the Umbraco folder but not ignoring the actual folder.
**/[Uu]mbraco/**
You must then exclude each folder in the path and then the contents of the final path.
!**/[Uu]mbraco/[Vv]iews/ !**/[Uu]mbraco/[Vv]iews/[Pp]ackages/ !**/[Uu]mbraco/[Vv]iews/[Pp]ackages/**
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Umbraco 8 gitignore file
Is there any example of gitignore file for umbraco 8 visual studio project?
Thanks
Silvija
For Umbraco 7, I've always referenced https://github.com/github/gitignore/blob/master/Umbraco.gitignore
It might work for v8 as well.
Its been i while i didnt need it, now I am again back to it. I have one more question, do you combine that gitigignore file with default visual studio gitignore, or you just delete vs default one and paste this one?
Hi all,
there is a slight change needed for Umbraco V8, see pull request on github.
https://github.com/github/gitignore/pull/3302
The change is to not ignore the new umbraco > views > packages folder and contents. By default it will be ignored.
/Michaël
I merge them, need the vstudio stuff also so you don't end up with a bunch of junk.
If you are ignoring the /Umbraco folder, the exclusion definitions (!) don't work in the file at https://github.com/github/gitignore/blob/master/Umbraco.gitignore
If you ignore a folder (/[Uu]mbraco/) no amount of exclusions will work under that folder so !/[Uu]mbraco/[Vv]iews/[Pp]ackages/* will never work.
The following will work by ignoring everything under the Umbraco folder but not ignoring the actual folder.
You must then exclude each folder in the path and then the contents of the final path.
is working on a reply...