Copied to clipboard

Flag this post as spam?

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


  • Brendan Rice 538 posts 1102 karma points
    Apr 12, 2011 @ 12:55
    Brendan Rice
    0

    What files can be ignored with SVN?

    What files/folders can be ignored with Umbraco when using SVN? Currently I use the ignore pattern below but I don't think it is specific enough for Umbraco:

    *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store thumbs.db Thumbs.db *.bak *.class *.exe *.dll *.mine *.obj *.ncb *.lib *.log *.idb *.pdb *.ilk *.msi* .res *.pch *.suo *.exp *.*~ *.~* ~*.* cvs CVS .CVS .cvs release Release debug Debug ignore Ignore bin Bin obj Obj *.csproj.user *.user

  • Arjan H. 226 posts 463 karma points c-trib
    Jan 14, 2012 @ 14:39
    Arjan H.
    1

    I'd like to know this as well. Which files and folders from a Umbraco installation can be safely excluded from SVN. I usually exclude the /media and /App_Data/TEMP folders. Is there a best practice for this?

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Jan 14, 2012 @ 14:42
    Jeroen Breuer
    1

    Those are the folders I also exclude, but also the umbraco.config file since it will almost always give conflicts in svn and can be regenerated anyway. You also don't need the /install folder. Don't think there's a best practise fot this. Someone should write a wiki fot this.

    Jeroen

  • Brendan Rice 538 posts 1102 karma points
    Jan 17, 2012 @ 01:16
    Brendan Rice
    0

    It would make a good WIKI post, will try write one when I get a bit of breathing space. I have moved onto mercurial and have an ignore file put together that works quite well.

  • Arjan H. 226 posts 463 karma points c-trib
    Sep 19, 2012 @ 16:53
    Arjan H.
    0

    So, did anyone put together a decent global ignore pattern?

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Sep 19, 2012 @ 17:33
    Tom Fulton
    3

    We don't use SVN, but in Git, these are the folders we ignore:

    src/*.Umbraco/App_Data/ClientDependency/
    src/*.Umbraco/App_Data/ExamineIndexes/
    src/*.Umbraco/App_Data/TEMP/
    src/*.Umbraco/App_Data/preview/
    src/*.Umbraco/App_Data/umbraco.config
    src/*.Umbraco/data/umbraco.config
    src/*.Umbraco/aspnet_client/
    src/*.Umbraco/media/
    src/*.Umbraco/imagecache/

    Someone also posted this:  .hgignore for Umbraco and Visual Studio

    And OffRoadCode shared their .hgignore in this blog and nuget

    Hope this helps,
    Tom 

     

     

     

     

Please Sign in or register to post replies

Write your reply to:

Draft