git

How to Set a Default Commit Message – Website Design Article

Having a default commit message is really useful for a number of reasons: It can formalize your commit messagesIt serves as a good reminder for the information you should add to your commit message, like issue numberIf you set it to “Drunk AF, don’t accept this” To set a default commit message on your local machine, start by executing the following from command line: git config –global commit.template ~/.gitmessage This tells your local git config to pull the text from…

Read More

Quick Tip: Deleting a Git Tag – WordPress Website Design Article

When working with Git, there are a number of things that I find myself doing often enough that I assume I’m not the only one who has encountered the task.So I thought I’d start a set of posts related to working with Git that may prove useful for anyone who’s also working with Git and who may be also encounter something similar.These aren’t long posts. Instead, simple things that you can do that may help you with your work.The only…

Read More

WordPress Version Control (What It Is and Best Solutions) – WordPress Website Design Article

WordPress version control helps you track changes to your WordPress site to monitor what’s happening and roll back those changes if needed. Those changes could be simple tweaks like edits to a post or more technical changes like edits to your site’s codebase. In this post, we’ll explain more about what version control is and how it applies to WordPress. Then, we’ll dig into some of the tools that you can use to implement version control on your WordPress site.…

Read More

6 Best GitHub Alternatives for Source Code Management – Website Design Article

GitHub is currently the most popular source code management and hosting platform on the web. It allows you to store and manage code repositories online, using the Git version control system. On GitHub, you can create and fork repositories, track the progress of your work, and collaborate with your team. It hosts millions of successful open-source projects in several different programming languages. Although GitHub is an excellent platform, it’s not the only option for source code management and online version…

Read More

Set Branch Alias with Git – Website Design Article

Version control systems can be difficult to use, especially when you don’t use a UI app. Just think about main branch or revision names: svn uses “trunk”, git uses “master”, and mercurial (hg) uses “tip”. I need to switch between mercurial and git frequently, so I end up reversing command and branch names constantly. To set a git branch alias, execute the following: # alias -> real branch git symbolic-ref refs/heads/trunk refs/heads/master With the alias in place, you can execute…

Read More

Compare changes between 2 versions – Deluxe Blog Tips – WordPress Website Design Article

It’s easy to track change per commit in Git using git diff command. Do you know this command is more powerful than that? It allows us to see the difference between any two commits, and in a special case, between two versions. To see what has changed from commit A to commit B, simply run: $ git diff A B The good thing is A and B can be anything that Git understands. They can be commit hashes, HEAD or…

Read More