开发者

how to ignore a committed file in subversion?

开发者 https://www.devze.com 2023-01-27 01:31 出处:网络
I joined my teammate to a existing p开发者_开发百科roject. There is a file I would like to ignore, as I have some changes which only fit my local machine. But seems SVN cannot ignore file which are al

I joined my teammate to a existing p开发者_开发百科roject. There is a file I would like to ignore, as I have some changes which only fit my local machine. But seems SVN cannot ignore file which are already committed.

Does anyone have any suggestion if I would like to ignore that committed file in my machine?

I am using Mac.

Thanks all. Happy Thanksgiving. :)


move that file to a different directory undersubversion and do not check out the new folder

so for example your source tree looks like

src/project/fileIdontWant
src/project/theRestofMyStuff

Create a new folder in a seperate folder

src/machineSpecific/fileIdontWant
src/project/theRestofMyStuff

Now only check out src/project from now on unless you want src/machineSpecific project

0

精彩评论

暂无评论...
验证码 换一张
取 消