<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>git on Grahams Blog</title><link>https://6621eb77.personal-website-9uy.pages.dev/blog/tags/git/</link><description>Recent content in git on Grahams Blog</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><copyright>© Graham Hughes</copyright><lastBuildDate>Tue, 27 Jun 2023 19:39:03 -0400</lastBuildDate><atom:link href="https://6621eb77.personal-website-9uy.pages.dev/blog/tags/git/index.xml" rel="self" type="application/rss+xml"/><item><title>Git Submodule Reset Alias</title><link>https://6621eb77.personal-website-9uy.pages.dev/blog/posts/git_submodule_reset_alias/</link><pubDate>Tue, 27 Jun 2023 19:39:03 -0400</pubDate><guid>https://6621eb77.personal-website-9uy.pages.dev/blog/posts/git_submodule_reset_alias/</guid><description>If you have ever worked with git submodules, you know that they have the tendency to get into bad states. Especially if changing branches with differing submodule pointers and or changing the name of the submodule between branches. I would like to introduce a git alias that I used as a get out of jail free card when submodules inevitably get in a bad state.
git config --global alias.smr &amp;#34;!git submodule deinit -f .</description></item></channel></rss>