Git No Ff
If you’re ever wondering how to never fast forward, here’s the global command: git config --global merge.ff false.
If you’re ever wondering how to never fast forward, here’s the global command: git config --global merge.ff false.
I believe I’m going to give Poetry coupled with pyenv-win a try. I do really like the .venv pattern for my projects. In order to use the active Python specified by pyenv-win an additional command has to be run. Here is how to set both of those options in the config. poetry config virtualenvs.in-project true poetry config virtualenvs.prefer-active-python true 2024-08-25 Update I kind of gave up on Poetry. It’s a bit too complex for most of my needs....
I found this post on StackOverflow today. I’ve struggled with converting datetimes to specific time zones in the past. Apparently, I was just making it too hard. Scroll down to the answer titled Python 3.9 adds the zoneinfo module so now only the the standard library is needed!. Works like a charm.
I need to take a better look at selfh.st. This stuff looks super interesting.
Struggled with this one for a while. If you’re going to use pyright and ruff language servers with Neovim, specifically Astronvim, add this to your astrolsp.lua file under config: pyright = { settings = { pyright = { disableOrganizeImports = true, -- Using Ruff }, python = { analysis = { ignore = { '*' }, -- Using Ruff }, }, }, } This will allow pyright to continue autocompletion, but let’s ruff handle the formatting and linting....
I really like Sublime Merge but I’m going to give a couple of Git TUI clients a try: lazygit gitui At first glance, lazygit has the better interface, but gitui boasts some pretty impressive benchmarks. However, this is parsing the entire Linux git repository and none of mine are anywhere near that large.
I seem to have a constant need to change text editors. One day it’s Sublime Text, the next VS Code and then ultimately I seem to always come back to Neovim, specifically the Astronvim distrobution. There’s just something about Neovim that feels right, you know? It’s quick, it’s no nonsense, and anyone that’s used Vim keybindings for any amount of time knows that they become addictive. You try to use them everywhere....