Grant Winney
  • About
  • Code
  • Questions
  • Tools of the Trade

Git  

Move a subdirectory into its own Git repo, with history

Move a subdirectory into its own Git repo, with history

Need to pull a subdirectory out of repo A and create a new repo B out with it? Including full history and branches? Okay, here's how.
Jul 29, 2021
How to Create a Git Alias

How to Create a Git Alias

If you're unfamiliar with Git's "alias" feature, it provides a way to create shortcuts for other Git commands, which can save you a lot of time. They’re easy to setup and maintain too. Let's see how.
Jan 28, 2017
5 Things You Can Do With a Locally Cloned GitHub Wiki

5 Things You Can Do With a Locally Cloned GitHub Wiki

There’s a feature of every GitHub repo that in my experience doesn’t get a ton of love, and that's the wiki. In all fairness, I'm not sure how much love it deserves - it's sorely lacking in features. But did you know it's a separate repo that you can clone and manipulate locally?
Jan 16, 2017
Send me new posts: *

  • Connect
  • Privacy
  • License
  • Cross-Posting
Grant Winney © 2025. Powered by Ghost