【Git】ユーザーパスワードなど上げてはいけないものをcommit&pushしてしまったとき Git Posted by: 2021年9月12日 no comments yet <スポンサーリンク> 全ブランチから該当ファイルを削除 git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch .config' HEAD force pushする git push -f <スポンサーリンク> older newer コメントを残す コメントをキャンセルAllowed tags: you may use these HTML tags and attributes: <a href="">, <strong>, <em>, <h1>, <h2>, <h3>Please note: all comments go through moderation. Name (required) Email (required) Website キャプチャコード * Δemail confirm* post date* 日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)