Git Worktree is somewhat of a niche feature in Git that too few developers know about. It allows you to change branches and contexts without ever having to stash your changes or commit and reset.
However, it can be quite the hassle when not maintained well and having to work with the CLI.
In this video I'll go through the best practices including a sweet Neovim plugin that makes the experience silky smooth!
LINKS AND TOOLS MENTIONED
▶ https://github.com/ThePrimeagen/git-worktree.nvim
▶ https://git-scm.com/docs/git-worktree
▶ https://github.com/nvim-telescope/telescope.nvim
MY FAVOURITE GEAR
* If you enjoy my content, using the links below will help me with a small commission, so thank you!
⌨️ My keyboard is the wonderful HHKB: https://amzn.to/3HwJG60
🔗 The HHKB is wired with a high quality coiled cable: https://amzn.to/3DCA87d
⌨️ Backup keyboard (for traveling mainly) - Nuphy Air60: https://amzn.to/3R3M7jz
🖥️ My ultra wide 49" monitor: https://amzn.to/3JbVThC
🎙️ Microphone - Shure MV7X: https://amzn.to/3kA7tZZ
🦾 Boom Arm - https://amzn.to/3ZmQgln
🎤 Audio Interface (for XLR microphones) - Focusrite Scarlett Solo: https://amzn.to/3Z3fBkQ
🦾 Heavy Duty Monitor Arm: https://amzn.to/3kKp7tS
🖱️ Mouse - MX Master 3: https://amzn.to/3DiZmaj
📷 Camera - ZVE10: https://amzn.to/3I1jfVS
🎥 Lens - Sigma 1.4 16mm: https://amzn.to/3BfFN15
CONSIDER SUPPORTING THIS CHANNEL
☕ Buy me a coffee: https://www.buymeacoffee.com/omerxx
🎷 60 day free Epidemic Music!: https://share.epidemicsound.com/w6zfxo
MY KEY LINKS
🍿 Subscribe: https://www.youtube.com/@devopstoolbox?sub_confirmation=1
🌍 My website: https://omerxx.com
🗞️ Dev & Ops tools Telegram channel: https://t.me/espressops
🎙️ DevOps Topeaks Podcast: https://topeaks.buzzsprout.com
#neovim #productivity #git #devops #ops #dev #terminal #CLI #system #sysadmin #cloud #ricing #linux #macos #commandline #typing #keyboard #tutorial #beginner