{"id":446,"date":"2025-10-18T16:55:38","date_gmt":"2025-10-18T20:55:38","guid":{"rendered":"https:\/\/scootercam.net\/notes\/?p=446"},"modified":"2025-10-18T16:55:38","modified_gmt":"2025-10-18T20:55:38","slug":"git-workflow-with-bbedit","status":"publish","type":"post","link":"https:\/\/scootercam.net\/blog\/git-workflow-with-bbedit\/","title":{"rendered":"Git workflow with BBedit"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><strong>Step 6: Your New Workflow<\/strong><\/h2>\n\n\n\n<p>Now that everything is set up, here&#8217;s how you work going forward:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Daily Editing Workflow:<\/strong><\/h3>\n\n\n\n<p><strong>1. Open BBEdit Project<\/strong><\/p>\n\n\n\n<p>bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><em># Double-click in Finder:<\/em>\n~\/Projects\/scootercam-plugins\/ScooterCam Plugins.bbprojectd<\/code><\/pre>\n\n\n\n<p><strong>2. Edit Files Locally<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>All 4 plugins visible in sidebar<\/li>\n\n\n\n<li>Edit any file<\/li>\n\n\n\n<li>Save (Cmd+S)<\/li>\n\n\n\n<li>BBEdit shows Git status with colored indicators<\/li>\n<\/ul>\n\n\n\n<p><strong>3. Commit Changes<\/strong><\/p>\n\n\n\n<p><strong>Option A &#8211; BBEdit (Visual):<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Tools \u2192 Git \u2192 Commit<\/li>\n\n\n\n<li>Select files to commit<\/li>\n\n\n\n<li>Write commit message<\/li>\n\n\n\n<li>Click &#8220;Commit and Push&#8221;<\/li>\n<\/ul>\n\n\n\n<p><strong>Option B &#8211; Terminal:<\/strong><\/p>\n\n\n\n<p>bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd ~\/Projects\/scootercam-plugins\/scootercam-verbose\ngit add .\ngit commit -m \"Fix: Alert emoji display for dense fog\"\ngit push<\/code><\/pre>\n\n\n\n<p><strong>4. Deploy to Server<\/strong><\/p>\n\n\n\n<p>SSH to server and pull changes:<\/p>\n\n\n\n<p>bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ssh scootercam@scootercam.net\n\ncd \/home\/rxaverco\/public_html\/wp-content\/plugins\/scootercam-verbose\ngit pull origin<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Step 6: Your New Workflow Now that everything is set up, here&#8217;s how you work going forward: Daily Editing Workflow: 1. Open BBEdit Project bash 2. Edit Files Locally 3. Commit Changes Option A &#8211; BBEdit (Visual): Option B &#8211; Terminal: bash 4. Deploy to Server SSH to server and pull changes: bash<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[37],"tags":[],"class_list":["post-446","post","type-post","status-publish","format-standard","hentry","category-dev-journal"],"_links":{"self":[{"href":"https:\/\/scootercam.net\/blog\/wp-json\/wp\/v2\/posts\/446","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scootercam.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scootercam.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scootercam.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/scootercam.net\/blog\/wp-json\/wp\/v2\/comments?post=446"}],"version-history":[{"count":1,"href":"https:\/\/scootercam.net\/blog\/wp-json\/wp\/v2\/posts\/446\/revisions"}],"predecessor-version":[{"id":447,"href":"https:\/\/scootercam.net\/blog\/wp-json\/wp\/v2\/posts\/446\/revisions\/447"}],"wp:attachment":[{"href":"https:\/\/scootercam.net\/blog\/wp-json\/wp\/v2\/media?parent=446"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scootercam.net\/blog\/wp-json\/wp\/v2\/categories?post=446"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scootercam.net\/blog\/wp-json\/wp\/v2\/tags?post=446"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}