![Thumbnail of post image 037](https://snowsystem.net/wp-content/uploads/2021/01/git-gitignore-320x180.png)
.gitignoreに追加したファイルが反映されない場合の対処方法 ~ git rm -r –cached ~
.gitignoreの内容が反映されない gitの管理対象に含めたくないファイルやディレクトリは .gitignore ファイルに記述することで対象外とすることができるのですが、 .gitignoreファイルに追加したのに、git st ...
![Thumbnail of post image 169](https://snowsystem.net/wp-content/uploads/2021/01/git-commit-amend-320x180.png)
git commitメッセージを間違った時の修正方法
gitコマンドで コミット時にコミットメッセージだけを間違えることがよくあります。 コミットメッセージだけを修正したい場合には、以下のコマンドで簡単に修正できます。 git pushする前に実行しましょう。 git commit --ame ...
![Thumbnail of post image 153](https://snowsystem.net/wp-content/uploads/2020/12/git-github-pr-conflict-320x180.png)
GitHubのプルリクエスト(Pull Request)でコンフリクト(Conflict)が発生した場合の解決方法 ~merge編~
GitHubでプルリクエスト(Pull Request)を発行したがコンフリクト(conflict)が発生した場合に、コンフリクトを解消するまで「Merge Pull Request」ボタンが非活性でマージが出来ません。 GitHubのPu ...
![Thumbnail of post image 016](https://snowsystem.net/wp-content/uploads/2020/11/git-add-upd-cancel-320x180.png)
gitで追加・変更したファイルやディレクトリを取り消し方法(add前/add後/commit後/push後)
gitで追加や変更したファイルを取り消したい場合のコマンドをまとめました。 に追加・変更したファイルやディレクトリの取り消し方法 追加と更新を同時に取り消すことはできないため、追加用と更新用で別のコマンドを実行します。 ポイント 全ディレク ...
![Thumbnail of post image 051](https://snowsystem.net/wp-content/uploads/2020/02/git-error-1-320x180.png)
GitHubでcloneすると「Could not resolve host: github.com」のエラーが発生した場合の対処方法
GitHubを利用していて「git clone」などのコマンドを実行すると「Could not resolve host: github.com」のエラーが発生する場合があります。 エラーの原因と対処方法についてまとめました。 「Could ...