Skip to main content
78
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
Attempting to run a preview, and I'm seeing the following error in Android...
Andrew Fletcher
Resources Type Version Android Studio Android Studio Giraffe | 2022.3.1...
Andrew Fletcher
Updating the Android app and while testing I'm seeing the following error in the...
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 command locally.  On my local environment I ran the following command git checkout {branch-name}However, the response was error: pathspec '{branch-name}' did not match any file(s) known to git  Solution The issue while the new branch is known in the repo, it's not known in my local environment.  To make the new branch known you need to run the fetch command git fetch --allResponse remote: Enumerating...
Andrew Fletcher
Goal: Restrict content access through username and password entry on an Nginx...
Andrew Fletcher
Only a month ago, running an app through the Android Studio emulator was running...
Andrew Fletcher
I'm in an environment where the default branch is staging and I'm attempting to...
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 repo: 1. Create a temporary directory Create a temporary directory obviously where your other sites are located locally.  For me, this is in the Sites directory. mkdir temp-dir  2. Clone Begin by cloning the current repo in the directory generated above username@25.123.212.231:/opt/git/proj.git  3. Directory Go into the temp-dir directory and view see a list of the different branches: git branch -aA...
Andrew Fletcher
Recently I have been investigating one of my Linux server's speed using the...
Andrew Fletcher
At first, I attempted echo 1 > /proc/sys/vm/drop_cachesResponse -bash:...
Andrew Fletcher
Error when running ckan.ini init from flask_debugtoolbar import...
Andrew Fletcher
Warning from Google Play Store when uploading an App You must complete the...