Skip to main content
110
results
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
Find by file name To perform a find command in terminal use find / -name...
Andrew Fletcher
I had generated a backup of key directories on the server - see Create a...
Andrew Fletcher
An approach to generating a backup server is using a shell script.  A...
Andrew Fletcher
Currently, I have a situation where I have two repositories.  The first is...
Andrew Fletcher
Creating a bash script Bash scripts are files containing code that tell your computer to do something.  In this instance, I want to rename a batch files in a directory.  Such as changing:   37351001 - BlueSpotted.jpg 37351008 -SpangledEmporer _ 0133A.jpg 37353003 -Black-Bream_3481 .jpg 37353004   -35 - Yellowfin.jpgInstead having these files appear as: 37351001.jpg 37351008.jpg 37353003.jpg 37353004.jpgHowever, I don't have four files.  Wouldn't be worth my time...
Andrew Fletcher
Working from the bases that .DS_Store has not been added to your git repository,...
Andrew Fletcher
How do you generate a .pem file from an existing .ppk key? Is putty on your...
Andrew Fletcher
Adding git tag to your actions. The regular process that I work to is git add...
Andrew Fletcher
In this woalk through I am going to use GitHub.  However, the steps are...
Andrew Fletcher
If you edit a Drupal contrib module, the next time the module is updated those edits will be wiped.  So they are not lost there are a couple of options for you to consider: Are the edits worth the contributing to the community?  Yes, you can fork the repo and add the changes for the developer(s) to review; or Create a patch file   Creating a patch file The process: Add the files you want to see in the diff.  Remembering to only add untracked files. git stash && git...
Andrew Fletcher
In terminal I ran a regular command - compose update.  Something I've...
Andrew Fletcher
Currently I'm working through an app that has been abandoned by the developers....
Andrew Fletcher
First off, this isn't the only method to achieve the outcome of emptying a...
Andrew Fletcher
Changes in your .env file Connecting your app to the new environment you need to...