Lets turn this thread into a sharing shower and swap git commands:
Here's my favorite by far:
git filter-branch --force --index-filter \ "git rm --cached --ignore-unmatch .idea" \ --prune-empty --tag-name-filter cat -- --all
So in many cases, you accidentally committed your secrets or personal config into the app way too early on. Here's what that command does to help:
.idea
git push origin --all --force
git fetch origin
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Lets turn this thread into a sharing shower and swap git commands:
Here's my favorite by far:
git filter-branch --force --index-filter \"git rm --cached --ignore-unmatch .idea" \
--prune-empty --tag-name-filter cat -- --all
So in many cases, you accidentally committed your secrets or personal config into the app way too early on. Here's what that command does to help:
.ideafilegit push origin --all --forceto overwrite your remote historygit fetch origin