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

google code

Computer/linux 2010.07.21 00:43
the first step to the open source...

svn import sDecoder-0.1 https://sdecoder.googlecode.com/svn/trunk/ -m 'initial import'
rm -rf sDecoder-0.1
svn checkout https://sdecoder.googlecode.com/svn/trunk/ sdecoder --username citadel.lee

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

emacs 한글 폰트 및 한글 입력  (0) 2010.07.22
google code  (0) 2010.07.21
automake & autoconf  (0) 2010.06.26
Unix Time (Epoch)  (0) 2010.04.27
posted by citadel

SVN commands

Computer/linux 2009.11.01 23:20

  • Check information on which revision you have
    svn info
  • Check information on 000 revision
    svn info -r 000
  • Update to a specific revision (000)
    svn update (up) -r 000
  • Compare two revisions (A and B) or even more
    svn diff -r A:B
  • Compare one file of current working copy with old revision(000)
    svn diff -r 000 filename
  • Undo a commit
    svn merge -c 000 .
    svn commit




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

a shared folder in guest OS (winxp) within host OS (RHEL5.3)  (0) 2009.12.15
SVN commands  (0) 2009.11.01
Skype Linux Static with Korean input  (0) 2009.10.17
usb sound card  (0) 2009.10.17
posted by citadel