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

svn:ignore

Computer/linux 2011.03.23 22:34

svn status Tracking

?       Tracking/ReadHits.C
?       Tracking/Run8090.R2.Wire17-23missing.png
?       Tracking/R2.Plane3.Wire17-23.png
?       Tracking/8090_r2_p12_allplanes.png
?       Tracking/R2.Plane3.Wire17-23.zoom.png


$ svn propedit svn:ignore Tracking


[] editor is opened, add

*.png


svn status Tracking

 M      Tracking
?       Tracking/ReadHits.C


Reference http://www.linuxtopia.org/online_books/programming_tool_guides/version_control_with_subversion/svn.advanced.props_5.html#svn.advanced.props.special.ignore

posted by citadel