<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Git on Chavez Poon — Freelance Website Designer &amp; Developer</title><link>https://poonchavez.github.io/tags/git/</link><description>Recent content in Git on Chavez Poon — Freelance Website Designer &amp; Developer</description><generator>Hugo</generator><language>en-GB</language><lastBuildDate>Mon, 16 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://poonchavez.github.io/tags/git/index.xml" rel="self" type="application/rss+xml"/><item><title>Make a shell script committed to Git executable</title><link>https://poonchavez.github.io/blog/make-a-shell-script-committed-to-git-executable/</link><pubDate>Mon, 16 Nov 2026 00:00:00 +0000</pubDate><guid>https://poonchavez.github.io/blog/make-a-shell-script-committed-to-git-executable/</guid><description>&lt;p&gt;You wrote a shell script called &lt;code&gt;script.sh&lt;/code&gt;, perhaps to back up a database or regularly remove old files, and committed and pushed it to your Git repository. You go to your server, run &lt;code&gt;git pull&lt;/code&gt; to get the latest commit, and try to execute the script with &lt;code&gt;./script.sh&lt;/code&gt;.&lt;/p&gt;&#10;&lt;p&gt;At some point, the script fails to run and displays the message &lt;code&gt;Permission denied&lt;/code&gt;. No problem, you think. I’ll just change the file permissions with &lt;code&gt;chmod&lt;/code&gt;. You do that, and the script runs. All is peachy—or so you think.&lt;/p&gt;</description></item></channel></rss>