Useful Git tips

github-mark

Apply .gitignore on already pushed repository

$ git rm -r --cached .
$ git add .
$ git commit -m '.gitignore applied'

Disconnect local repository from remote

$ git remote rm origin

 

Leave A Comment

Your email address will not be published. Required fields are marked *