Remove and ignore dreamweaver dwsync.xml files from your GIT repo

git ignore dreamweaver dwsync.xml files (and other gubbins as required)

  1. Remove any files already added form the working directory. For example:

    $ git rm -f *dwsync.xml

  2. set up your a global git ignore file

    create a gitignore file in your home directory. eg:

    $ printf "dwsync.xml\nThumbs.db\n" >> ~/.gitignore

    using git config add this to you git prefs

    $ git config --global core.excludesfile ~/.gitignore

For repos that may be worked on by multiple users you should also create this file at the root of your working directory.



  1. No comments yet.

You must be logged in to post a comment.