Skip to content

Instantly share code, notes, and snippets.

@sjmacneil
Last active February 18, 2022 20:48
Show Gist options
  • Save sjmacneil/b47c34e7c8df537d16ec to your computer and use it in GitHub Desktop.
Save sjmacneil/b47c34e7c8df537d16ec to your computer and use it in GitHub Desktop.

Revisions

  1. sjmacneil revised this gist Apr 16, 2015. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions sftp-config-ignore_regex.json
    Original file line number Diff line number Diff line change
    @@ -2,23 +2,25 @@
    "\\.sublime-(project|workspace)",
    "sftp-config(-alt\\d?)?\\.json",
    "sftp-settings\\.json",
    "\\.htaccess",
    "/venv/",
    "\\.svn/",
    "\\.hg/",
    "\\.git/",
    "\\.gitignore",
    "\\.bzr",
    "_darcs",
    "\\_darcs",
    "CVS",
    "\\.DS_Store",
    "\\.trashes",
    "Thumbs\\.db",
    "desktop\\.ini",
    "\\.sass-cache",
    "\\.bower-(cache|registry|temp)",
    "/node\\_modules/",
    "/node_modules/",
    "\\.tmp/",
    "/dist/",
    "/tyfoon/",
    "notes\\.md"

    ],
  2. sjmacneil revised this gist Apr 15, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion sftp-config-ignore_regex.json
    Original file line number Diff line number Diff line change
    @@ -10,7 +10,7 @@
    "\\.bzr",
    "_darcs",
    "CVS",
    "\\.DS_Store\\?",
    "\\.DS_Store",
    "\\.trashes",
    "Thumbs\\.db",
    "desktop\\.ini",
  3. sjmacneil created this gist Apr 10, 2015.
    7 changes: 7 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    # Sublime SFTP ignore_regex

    Use the contents of `sftp-config-ignore_regex.json` to replace the ignore_regex in your `sftp-config.json` for better ignore settings if you happen to be using OS X, bower and npm and occasionally a little known CMS called Tyfoon for projects like me.

    ![Congration You Done it](http://weknowmemes.com/wp-content/uploads/2013/05/congration-you-done-it.jpg "Congration You Done it")

    Enjoy not uploading unnecessary files to your production server with Sublime SFTP!
    24 changes: 24 additions & 0 deletions sftp-config-ignore_regex.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    "ignore_regexes": [
    "\\.sublime-(project|workspace)",
    "sftp-config(-alt\\d?)?\\.json",
    "sftp-settings\\.json",
    "/venv/",
    "\\.svn/",
    "\\.hg/",
    "\\.git/",
    "\\.gitignore",
    "\\.bzr",
    "_darcs",
    "CVS",
    "\\.DS_Store\\?",
    "\\.trashes",
    "Thumbs\\.db",
    "desktop\\.ini",
    "\\.sass-cache",
    "\\.bower-(cache|registry|temp)",
    "/node\\_modules/",
    "\\.tmp/",
    "/dist/",
    "/tyfoon/",
    "notes\\.md"
    ],