git

Fixed – [oh-my-zsh] Can’t update: not a git repository.

This week I upgraded my Macbook to the latest version and since the update, I realized that every time I opened a new terminal I had this warning issue from Oh-my-Zsh. [oh-my-zsh] Can’t update: not a git repository. If you search a bit, there are several messages explaining that this error may be due to the application folder has been messed up and the .git folder being lost. It wasn’t

How to delete Git last commit

$git push -f origin HEAD^:master

GIT Workflow