Now that you have created an account with GitHub, you are ready to create a new repository. This would be a good time to check out our Git guide on using remote repositories. Basically, remote repositories are important for the following reasons: Provides a “hub” for your code Supports collaboration Decentralizes your code to protect Read More >
Christopher Maiorana
Why or Why Not Use Github?
We have already studied how you can use Git to manage versions of your software project. We have also shown you how you can use your InMotion Hosting server to host your own Git repository. Now, we will discuss why or why not use GitHub to host your remote repositories. Reasons Why You Might Consider Read More >
Using Git to Publish Files
In this article, we will be learning how to deploy a project with Git. The goal is to take a project under Git version control and deploy a live “production” version. This can be used to host scripts that are edited frequently or even to launch a static website (or the static files of a Read More >
Using Branches in Git
Git allows you to do work in new “branches” separate from your main “master” branch. In effect, “checking out” branches in Git means actually copying and swapping your working directory files, so you can change them as you please, and switch back to another branch later. This means you can do as much testing and Read More >
Setting Up Your Remote Repository With Git
You can use Git locally to manage file versions, but more power comes when you distribute your work and allows other to collaborate. You can accomplish this by “pushing” and “pulling” content to and from a remote server locations. In this example, of course, we will be using an InMotion Hosting server to demonstrate setting Read More >
How to Sign Tags and Commits with Git
You may remember in our previous articles, we learned how to commit changes in our project to Git. We also learned how to add tags to various commits in order to mark special milestones. Now we’re going to learn how to “sign” tags and commits with GPG. Signing commits and tags is a way of Read More >
How to Commit Changes in Git
Now that we have learned how to install git and start adding files to our staging index, we can now learn how to how to commit changes in Git. Committing tracked files to the repository means that we are adding changes to the permanent record of the project. Imagine this process as similar to recording Read More >
How to Add Files to Git
By now, you should have a good grasp on the basics of Git. In this article, you will learn how to add files to Git. This means you are, in effect, telling Git which files in your project you would like to monitor for changes. Adding files, and modifications to those files, into the “staging” Read More >
How to Create a New Account with GitHub
As we mentioned in our Introduction to Git, there are many popular Git hosting solutions available, some proprietary and some free. One of the most popular free Git hosts is GitHub. In this article, we will show you how to create a new account with GitHub, which you can use to host your remote repositories Read More >
UPDATE (Jan 12, 2018): Spectre and Meltdown
Issue: Spectre and Meltdown Status: InMotion Hosting is aware of the reports. No services have been affected. Who is impacted? All computers and devices are theoretically vulnerable. Estimated time until resolution: Patches from KernelCare are scheduled for application as soon as they become available. Update: Due to the seriousness of the issue and due to Read More >
How to Use SCP For Secure File Transfer
In this article, we will show you how to use SCP for secure file transfer between your local computer and your InMotion Hosting server. SCP uses SSH to make a secure connection to the server. This means that in order to complete a safe, secure file transfer, you will not need to install any additional Read More >
How to Find your WordPress User ID
There are many reasons why you may need to access background information about your <a href=”https://www.inmotionhosting.com/wordpress-hosting”>WordPress</a> installation, especially if you are considering going deeper with your WordPress development. Customizing your WordPress site may often require special back-end data you can only find in your WordPress database. In this article, we are going to learn <strong>how Read More >
How to Redirect Primary Domain to a Subdirectory
By default, your primary domain document root is set as the public_html directory. This is where you can place live website files for serving to the web. Any files in this directory will be rendered and served as part of a website. However, in some cases, a situation may arise in which a document root Read More >
How to Set Up a WordPress Auto Password Rotation Script
Part of regular WordPress maintenance is password rotation. Once in a while, it is best advised to update your WordPress password. In this article, we’ll show you how you can create a script to automate WordPress password rotation process and send you an email with the new password. WordPress Auto Password Rotation Script In order Read More >
How to Create a GPG Key
In this article, we’ll show you how to create a GPG key on your computer or on your server in order to take advantage of the benefits of public key cryptography. Since cryptography is a very broad topic, this article is limited to showing you how to create a key. However, the basics of using Read More >
How to Use the is_preview() Function
In this article, we will introduce the WordPress is_preview() function. This is how you can effectively edit what content is generated when you preview a page or post. Most commonly, this can be used to differentiate the preview page from published pages. This is especially helpful if you are using something like Google analytics to Read More >
How to Create a Random Posts Shortcode
In the course of developing your WordPress site, you have likely considered the importance of site navigation. Once users have visited your site, the goal is to provide more opportunities for the user to find other valuable content beyond the page they have landed on. This is why many WordPress themes come with sidebars and Read More >
Jetpack 5.4 Released
Announcement: Jetpack version 5.4 release Status: Version 5.4 was released earlier this month Who is impacted? Current and prospective Jetpack users Improved Search (Professional plan only) Top tier Jetpack users will now be able to take charge of powerful Elasticsearch features running from WordPress’s cloud infrastructure. These features are expected to provide more accurate query Read More >
How to Create a Strong Passphrase for SSH
You might be wondering what passphrases are, how they’re different from passwords, and how you can use them effectively. Most simply, passwords are used to secure credentials for most of the services and devices you log into regularly. These services can be anything from cPanel, AMP, or your favorite social media applications. In this article, Read More >
How to Set Up Non-cached Pages with .htaccess
Cache control is one of the primary system administrative tasks you will find yourself performing. Thankfully, most browsers will take care of at least some of the caching for you, remembering certain resources that were loaded before. However, there may be occasions in which browser caching is something you don’t want. In this article, we’ll Read More >