Skip to main content
35
results
Andrew Fletcher
I'm in an environment where the default branch is staging and I'm attempting to run a git merge.  However, in actioning this command, I'm been greeted with the following response 'not something we can merge' ❯ git merge origin/{branch} merge: origin/{branch} - not something we can mergeTo resolve this, first I attempted to do a git checkout to the branch But this was swiftly meet with "did not match any file(s) known to git" git checkout {branch} error: pathspec '{branch}' did not match...
Andrew Fletcher
I've recently upgraded the server Ubuntu 20.04 updating the PHP version from 7.4...
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
Working through and importing JSON data into a content type.   Drush...
Andrew Fletcher
After cloning a site, next you will want to import the config file.  Which you can do so by running the command: drush cim -yHopefully it worked for you.  As it didn't work out so well for me as the response was: [error] Drupal\Core\Config\ConfigImporterException: There were errors validating the config s ynchronization. Site UUID in source storage does not match the target storage. Entities exist of type <em class="placeholder">Shortcut link</em>...
Andrew Fletcher
This is a relatively quick process, beginning with dropping the database...
Andrew Fletcher
Import a database lando db-import doj.sqlEnter the MySQL database lando mysql...
Andrew Fletcher
Currently, I have a situation where I have two repositories.  The first is...
Andrew Fletcher
Trying to have a chat recently, and Microsoft Teams would not open on MAC OS....
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working through the output for recently viewed pages... the code structure: <?php namespace Drupal\custom\Plugin\GetData\paragraph; use Drupal\custom\Plugin\GetData\ContentBase; use Drupal\custom\Plugin\GetData\ParagraphTrait; use Drupal\node\Entity\Node; /** * Provides Recent view pages data. * * @GetData( * id = "recent_view_pages", * title = @Translation("Recent view pages Data"), * ) */ class...
Andrew Fletcher
Working from the bases that .DS_Store has not been added to your git repository,...
Andrew Fletcher
How do you rebuild node access permissions using CLI? To rebuild permissions...
Andrew Fletcher
Adding git tag to your actions. The regular process that I work to is git add...
Andrew Fletcher
Attempting to update the database, irrespective whether I run update.php or...