• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Notes to Self

  • Aviation Weather from NOAA Plugin
    • KZZV
    • Bad Shortcode
    • Simple Metar
  • Meetings
  • Meetings Map

Mark Chouinard / May 23, 2013

Ignore Files/Directories – SVN

# ------------------------------------------------------------
#      Ignoring files/directories happens in the same fashion
#      Ignore all the .jpg files in the /trunk/images/ directory
# --------------------------------------------------------------

# switch to trunk/images
cd trunk/images/              

# Edit the properties for the current directory
svn propedit svn:ignore .   # Opens an editor (SVN_EDITOR, EDITOR)

# if no editor is set, run the following command 
# (to make it permanent, add this command to ~/.bash_profile)
export SVN_EDITOR=vim

# Add value (multiple values separated by newline), save and quit:
*.jpg

# Double check
svn propget svn:ignore .    # Shows ignores for current dir
svn status --no-ignore      #  'I' next to any ignored files/directories

# Commit Changes
svn commit -m "Ignoring Files"

Filed Under: Version Control Tagged With: ignore, svn

Primary Sidebar

Footer

Copyright © 2021 · machouinard · Log in