Skip to main content
32
results
Andrew Fletcher
How do you remove a file from git? Use the command (rm) to remove files from your local git repository git rm --cachedIt's important to note the --cached flag deletes the file from your git repository, it becomes an untracked file in your project folder.  For the change(s) to kick in, you need to commit the changes.
Andrew Fletcher
Moving a Git repo due to a change of agencies   Steps to change the...
Andrew Fletcher
Finding the issue with a server 500 error The Nginx error logs are showing too...
Andrew Fletcher
Focusing on the ckan.ini file (/etc/ckan/default/ckan.ini).  When I run the...
Andrew Fletcher
Listen in on the ports being used on your server.  To do so, run the...
Andrew Fletcher
Error with Nginx When running an Nginx test, the following response was being presented: nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied) 2022/08/04 07:05:54 [warn] 3105#3105: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1 2022/08/04 07:05:54 [crit] 3105#3105: pread() "/etc/nginx/sites-enabled/ckan" failed (21: Is a directory) nginx: configuration file...
Andrew Fletcher
Currently, I have a situation where I have two repositories.  The first is...
Andrew Fletcher
Working on a decoupled React / Drupal 9 site. Aim: Adjust the output of curated...
Andrew Fletcher
How to make React calls on a Drupal 9 backend site using the search...
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working...
Andrew Fletcher
Working from the bases that .DS_Store has not been added to your git repository, then you can add it to your .gitignore file. touch .gitignoreIn the .gitignore file add the following # Hide the DS_Store files **/.DS_StoreHowever, if it's already there, then in Terminal you will need to write: find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatchFinally commit to repo git commit -m "Remove .DS_Store" git push origin...
Andrew Fletcher
Adding git tag to your actions. The regular process that I work to is git add...
Andrew Fletcher
If you edit a Drupal contrib module, the next time the module is updated those...
Andrew Fletcher
Changing git push from passphrase?  There are several ways to tackle this...
Andrew Fletcher
Running Docker Dangerous word... I'm assuming that Docker is installed....