Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 10
  1. Git Change Remote to https

    I had to change a bunch of Git remotes from GitHub SSH URLs (e.g. git@github.com:salcode/salcode-zsh.git) to GitHub https URLs (e.g. https://github.com/salcode/salcode-zsh.git) on a bunch of different repos.

  2. This is how I use jq to conditionally add an element to an array only if it doesn’t exist there already.

  3. Sometimes I want a Git commit message without the leading indentation added by git show (for example, if I want to copy it and paste it somewhere else).

  4. By default, Slack provides you with a Formatting toolbar and a WYSIWYG editor.

  5. I work with WordPress sites that have lots of meta fields exposed through the REST API.

  6. In Neovim, I’m a big fan of CTRL-a to increment a number (and CTRL-x to decrement a number), however when I have dash before the number (e.g.

  7. I recently needed to disable one of the built-in linters in the ALE (Asynchronous Lint Engine) Vim plugin in my Neovim configuration.

  8. This threw me for a loop so I’m writing this down to help others (and likely me in the future).

  9. Git Editor Roulette

    A question came up about setting the Git editor to a bash function, which I could not figure out.

  10. Git Squash Back To

    Often in my work, I’ll create a number of commits before I craft my correct solution.