How to ignore folder without removing it from my repository

前端 未结 3 838
自闭症患者
自闭症患者 2021-02-06 01:26

I have this tmp/ and cache/ directories, that keep generating files that don\'t need to be commited.

How can I set it so svn ignores them, but doesn\'t delete them or r

3条回答
  •  遇见更好的自我
    2021-02-06 01:36

    The command is:

    svn propedit svn:ignore ./some_path
    

    You can use * for "any chars" in the path like, *.project if you want.

    Tortoise svn is a good solution for user friendly interface(like Petar Ivanov says). If you are on PC it's "must have" software. If you are on other OS or want full control of svn I suggest you read more about command line working with svn. It's not hard and google knows many things about it :)

    you can read more about it: here

    And more about cmd svn: here

提交回复
热议问题