Git
-
Changing the Default Git branch in Github
When working with Git, it’s sometimes necessary to change the default branch — especially if you want pull requests to target a branch other than main or master by default. This can also be important when migrating repositories from Bitbucket to GitHub, as GitHub may incorrectly set the default branch (often choosing the first one…
-
Local Development Environment Setup
Categories: Hosting1. Initial Setup This guide will walk you through setting up your local development environment for working on KZ client sites. By the end of this guide, you will have a fully functional local WordPress site that mirrors our staging environment. 2. Required Software Installation Before starting, install the following applications. 2.1 Local by Flywheel…
-
Bitbucket to GitHub Repository Migration Guide
This guide explains how to migrate a Git repository from Bitbucket to GitHub using the command line. It preserves all branches, tags, and full commit history. 1) Prerequisites 2) Clone the Bitbucket repository In a local directory (outside of your local environment like Local by Flywheel) you will clone the BitBucket repository. NOTE: this isn’t…
-
Sourcetree
Sourcetree is a free Git and Mercurial client for Windows and macOS developed by Atlassian. It provides a graphical interface for managing repositories, branches, and commits, making it easier for developers to interact with version control systems without using the command line. Sourcetree simplifies complex Git operations, like merging, rebasing, and resolving conflicts, and integrates…
-
Syncing WordPress plugins git repository to latest versions
When starting to work on a WordPress website, or right before deployment we want to get the latest plugin versions for the website and make sure the plugins git repository is up to date.
