Video Thumbnail

Sign up for a plan to instantly unlock all premium lessons.

UNLOCK LESSON

Premium Features

Download Video

27. Transfer Site to Server with Git

Published 2 years 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

Login

No comments yet, be the first to add one

Providing the lift to launch your development career

© 2022 Chris Courses. All rights reserved.