{"id":923,"date":"2021-07-27T15:23:12","date_gmt":"2021-07-27T15:23:12","guid":{"rendered":"https:\/\/www.versionsql.com\/help\/documentation\/connection-settings\/run-command-after-save\/"},"modified":"2021-07-27T16:46:06","modified_gmt":"2021-07-27T16:46:06","slug":"run-command-after-save","status":"publish","type":"docs","link":"https:\/\/www.versionsql.com\/help\/documentation\/connection-settings\/run-command-after-save\/","title":{"rendered":"Run Command After Save"},"content":{"rendered":"<p>Only available for <code>Folder<\/code>-type connections.  Opens a command prompt and runs the specified command after the script files are saved.  Useful for connecting to repositories not supported natively by VersionSQL, for connecting to Git or Subversion working copies, or for customizing commit behavior.<\/p>\n<p>Contains presets for Git, Mercurial, Subversion, and TFS (Team Foundation Server).<\/p>\n<p>Command window behavior can be specified in <a href=\"\/help\/documentation\/connection-settings\/advanced-options\/\">Advanced Options<\/a><\/p>\n<div class=\"wedocs-callout callout-yellow\">Important: VersionSQL provides presets for working with command-line tools like git.exe, but does not install those tools automatically.  Please find below links to download and install those tools manually.<\/div>\n<h3>Tool download links<\/h3>\n<ul>\n<li><a href=\"https:\/\/gitforwindows.org\/\">Git for Windows<\/a><\/li>\n<li><a href=\"https:\/\/subversion.apache.org\/packages.html#windows\">Subversion Windows binaries<\/a><\/li>\n<li><a href=\"https:\/\/www.mercurial-scm.org\/wiki\/Download#Windows\">Mercurial Windows binaries<\/a><\/li>\n<li><a href=\"https:\/\/visualstudio.microsoft.com\/downloads\/#visual-studio-team-explorer-2019\">Visual Studio Team Explorer 2019<\/a> (for TFS&#8217; <code>tf.exe<\/code>)<\/li>\n<\/ul>\n","protected":false},"author":1,"featured_media":0,"parent":911,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"footnotes":""},"doc_tag":[],"class_list":["post-923","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/www.versionsql.com\/help\/wp-json\/wp\/v2\/docs\/923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.versionsql.com\/help\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.versionsql.com\/help\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.versionsql.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.versionsql.com\/help\/wp-json\/wp\/v2\/comments?post=923"}],"version-history":[{"count":7,"href":"https:\/\/www.versionsql.com\/help\/wp-json\/wp\/v2\/docs\/923\/revisions"}],"predecessor-version":[{"id":936,"href":"https:\/\/www.versionsql.com\/help\/wp-json\/wp\/v2\/docs\/923\/revisions\/936"}],"up":[{"embeddable":true,"href":"https:\/\/www.versionsql.com\/help\/wp-json\/wp\/v2\/docs\/911"}],"next":[{"title":"Advanced Options","link":"https:\/\/www.versionsql.com\/help\/documentation\/connection-settings\/advanced-options\/","href":"https:\/\/www.versionsql.com\/help\/wp-json\/wp\/v2\/docs\/921"}],"prev":[{"title":"Repository Type","link":"https:\/\/www.versionsql.com\/help\/documentation\/connection-settings\/repository-type\/","href":"https:\/\/www.versionsql.com\/help\/wp-json\/wp\/v2\/docs\/920"}],"wp:attachment":[{"href":"https:\/\/www.versionsql.com\/help\/wp-json\/wp\/v2\/media?parent=923"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.versionsql.com\/help\/wp-json\/wp\/v2\/doc_tag?post=923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}