Skip to main content
71
results
Andrew Fletcher
Something I haven't had to do in a while is to change the name of a Git branch both local and remote.   Steps to renaming a branch Rename your local branch: If you are on the branch you want to rename: git branch -m new-nameWhereas, if you're on a different branch: git branch -m old-name new-nameDelete the old-name remote branch and push the new-name local branch: git push origin :old-name new-nameReset the upstream branch for the new-name local branch:Switch to the branch and then: git...
Andrew Fletcher
Git filename error when running the git add command.  The error I'm...
Andrew Fletcher
Post creating a new branch in the repo, next step was to run the checkout...
Andrew Fletcher
Goal: Restrict content access through username and password entry on an Nginx...
Andrew Fletcher
I'm in an environment where the default branch is staging and I'm attempting to...
Andrew Fletcher
Whilst attempting to download the latest config.zip file for Solr, I was greeted by the following error: Error: Class "MyCLabs\Enum\Enum" not found in include() (line 18 of /var/www/vhosts/{domain.com}/vendor/maennchen/zipstream-php/src/Option/Method.php) #0 /var/www/vhosts/{domain.com}/vendor/composer/ClassLoader.php(582): include() #1 /var/www/vhosts/{domain.com}/vendor/composer/ClassLoader.php(433): Composer\Autoload\{closure}() #2...
Andrew Fletcher
Setting up the admin password.   Process: 1. Edit jetty.xml To begin you...
Andrew Fletcher
How do you remove a file from git? Use the command (rm) to remove files from...
Andrew Fletcher
Moving a Git repo due to a change of agencies   Steps to change the...
Andrew Fletcher
After cloning a site, next you will want to import the config file.  Which...
Andrew Fletcher
At first, I attempted echo 1 > /proc/sys/vm/drop_cachesResponse -bash: /proc/sys/vm/drop_caches: Permission deniedAdding sudo in front of the command was met with the same result.  What about if I execute the shell as root sudo sh -c 'echo 1 > /proc/sys/vm/drop_caches'Success.  Caches cleared.   Different types of clearing cache   Clear PageCache only sudo sh -c 'echo 1 > /proc/sys/vm/drop_caches'Clear dentries and inodes sudo sh -c 'echo 2 >...
Andrew Fletcher
Error when running ckan.ini init from flask_debugtoolbar import...
Andrew Fletcher
My goal was to install a requirements.txt file using pip.  First,...
Andrew Fletcher
In this article I'll walk through the steps I went through to install Solr on...
Andrew Fletcher
Looking to install Solr on your server?  Not sure if it worth the...