To set vim as text editor in git:
git config core.editor
Notes about WordPress Gutenberg themes development.
ACF (6) admin (1) ajax (2) API interactivity (1) block (17) block_style (2) colors (2) constante (1) context (1) conventions (2) cron (1) css (5) custom post type (1) data (1) debug (2) define (1) file_API (1) functions.php (5) git (4) hook (7) i18n (2) js (2) layout (1) loop (1) media (1) media library (1) menu (2) navigation (1) performance (2) post (1) query (3) readmore (1) responsive (1) rest api (1) security (6) spacing (1) sql (1) svg (1) taxonomy (1) theme (1) theme.json (11) typo (2) URL (1) wp-config.php (5) wp cli (3) wp function (7)
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