Setup Auto Deployment with Git & Shell Script


Few days ago I found a nice post on the web about a trick for auto deploying sources/files to server from inside local development repository using shell script. I mean, you don’t need to log in into the server each time the code status is changed and pull the changes from a repository to make the server’s files updated. You can do all of these from inside the local repository by assigning several remotes to it & by using the Hook feature of git on the server end. I have just tried that out and made a screencast with some detail descriptions.

Following is a diagram of what I am going to show you detail on the video below it. Hope it might be helpful for some one who wants to watch a demo even before trying out few commands 🙂

Untitled drawing

Live Demo [watch in 720p at least]


2 thoughts on “Setup Auto Deployment with Git & Shell Script

  1. একদম শুরু থেকে কিভাবে গিট সেট আপ দিব সে ব্যাপারে কি ধাপে ধাপে ছবি দিয়ে একটা পোষ্ট দিতে পারেন। আপনার সিভি দেখে বুঝলাম আপনি অনেক ব্যস্ত। তারপরেও যদি সময় পান, তাহলে লিখলে আমরা উপকৃত হব।

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s