To set vim as text editor in git:
git config core.editor
Notes about WordPress Gutenberg themes development.
To set vim as text editor in git:
git config core.editor
To squash a list of commits into a single one, for a better clarity of the tree:
git rebase -i HEAD~<number of commits>
git push origin <branch name> --force
Locally: git branch --delete --force <branch name>
Remotely: git push <remote name> --delete <branch name>
Source: https://stackoverflow.com/questions/2003505/how-do-i-delete-a-git-branch-locally-and-remotely
git config core.filemode false
Source: https://stackoverflow.com/questions/1257592/how-do-i-remove-files-saying-old-mode-100755-new-mode-100644-from-unstaged-cha