27. Transfer Site to Server with Git

Published 2 months ago

Although you can transfer a website to remote server with FTP or SFTP, it's probably not a good idea—it allows more room for user error as you may accidentally upload the wrong file to your app only to bring the whole thing down.

Instead of transferring files via FTP, we're going to use Git and GitHub to transfer only the exact files we changed at any point in time. Git will automatically detect what files we've edited, while GitHub will store our files on a cloud service in which we can then pull the files onto our remote server.

This is my go-to method for transferring and making updates to websites on my servers.

Comments

Want to participate?

Create a free Chris Courses account to begin

or
Sign In

No comments yet, be the first to add one

Cheat Sheet Preview

Download The Official Chris Courses HTML5 Canvas Cheat Sheet

Essential canvas syntax at your fingertips.

Download Now

Providing the lift to launch your development career

© 2020 Chris Courses. All rights reserved.