Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Silvija 58 posts 171 karma points
    Jul 15, 2019 @ 13:15

    Umbraco 8 gitignore file

    Is there any example of gitignore file for umbraco 8 visual studio project?



  • bdsoko 4 posts 94 karma points
    Jul 15, 2019 @ 16:48

    For Umbraco 7, I've always referenced

    It might work for v8 as well.

  • Silvija 58 posts 171 karma points
    Aug 28, 2019 @ 20:56

    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?

  • Michaël Vanbrabandt 863 posts 3346 karma points c-trib
    Feb 10, 2020 @ 07:36
    Michaël Vanbrabandt

    Hi all,

    there is a slight change needed for Umbraco V8, see pull request on github.

    The change is to not ignore the new umbraco > views > packages folder and contents. By default it will be ignored.


  • Amir Khan 1271 posts 2684 karma points
    Aug 28, 2019 @ 21:23
    Amir Khan

    I merge them, need the vstudio stuff also so you don't end up with a bunch of junk.

  • Colin Anderson 14 posts 105 karma points
    May 19, 2021 @ 10:45
    Colin Anderson

    If you are ignoring the /Umbraco folder, the exclusion definitions (!) don't work in the file at

    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.

Please Sign in or register to post replies

Write your reply to: