ignore files with svn

Computer/linux 2013.01.15 12:59

To ignore files in SVN,

$ svn st
?       beamcontrol.aux
?       beamcontrol.bbl
?       beamcontrol.log
?       beamcontrol.dvi
?       beamcontrol.blg
?       beamcontrolNotes.bib
M       beamcontrol.bib
M       beamcontrol.tex

$ svn propedit svn:ignore .

In an editor (in my case, emacs ) , type

*.aux

*.log

*.pdf

*.dvi

save them and exit

$ svn propget svn:ignore .
*.aux
*.log
*.dvi
*.pdf
*.blg

$ svn status --no-ignore
 M      .
I       svn-prop.tmp~
I       beamcontrol.aux
?       beamcontrol.bbl
I       beamcontrol.log
I       beamcontrol.dvi
I       beamcontrol.blg
?       beamcontrolNotes.bib
M       beamcontrol.bib
M       beamcontrol.tex


$ svn st
 M      .
M       beamcontrol.bib
A       beamcontrol.bbl
M       beamcontrol.tex



Reference :  http://blog.bogojoker.com/2008/07/command-line-svnignore-a-file/

'Computer > linux' 카테고리의 다른 글

remove octave history list completely  (0) 2013.01.15
ignore files with svn  (0) 2013.01.15
increase client win7 disk size on Linux  (0) 2012.12.16
ClusterSSH  (0) 2012.12.05
posted by citadel