-
本番環境でgit pullしたらエラーがでた(error: Your local changes to the following files would be overwritten by merge: *** Please, commit your changes or stash them before you can merge.)
本番環境でgit pullを行ったときにエラーが出ました。 error: Your local changes to the following files would be overwritten by merge: composer.json composer.loc... -
Laravelのバージョンを指定してLaravel Sail環境をつくる
以下のコマンドだと最新のLaravelがインストールされてしまいます。 $ curl -s "https://laravel.build/example-app" | bash 最新ではなく任意のバージョンで... -
既存Laravelプロジェクト(Laravel Sail)の開発環境をつくる【Mac】〜複数人で開発するときなど
Docker利用環境はあるものとします。また、Github等でプロジェクトファイルをホスティングしている前提です。 【Githubリポジトリからクローン】 $ git clone https://g... -
Githubの初回pushでエラー(error: src refspec main does not match any error: failed to push some refs to ‘github.com:*/*.git’)が出た時の対処法
Githubで新しいプロジェクトを作成して、存在するレポジトリを初めてpushするとき …or push an existing repository from the command line git remote add origin git@... -
Vite + Vue 3 でGoogle Fontsを使う
Vite + Vue 3 でGoogle Fontsなど Webフォントを使えるように環境を整える方法です。プラグイン「Vite Plugin WebFont DL 」を使用し、vite.config.js で import する方... -
GitHubでremote: Invalid username or password. fatal: Authentication failed for 〜エラーが出た時の対処
GitHubリポジトリからコマンドでプルしたらエラーが出ました。 $ git pull remote: Invalid username or password. fatal: Authentication failed for 'https://git... -
nodenvでNode.jsをプロジェクト毎にバージョンを管理する(anyenvを使用)
プロジェクト毎にNode.jsのバージョンが異なることはよくあることで、場面に応じて使用バージョンを切り替えられる環境は必須といえます。そして、Node.jsだけにとどま... -
WordPressをインストールする
WordPressのインストール手順です。レンタルサーバーによっては簡単インストールが用意されていたりしますが利用しません。また、ここではDockerも利用しない方法です。...
1