Blog

My notebook of technical information to share with you. If I struggled with it or found something cool, it is documented here.

More ›

Speaking Engagements

As much as I love to write code, I enjoy teaching even more. Find out where I will be speaking next and see past presentations.

More ›

Videos

Watch recordings of my various talks on YouTube, subscribe to my YouTube channel or catch up with me on my live stream.

More ›

Git: Clone Branch to New Repo without History

git

For my Angular workshop repository I wanted to clone the final branch without any history to a new repository so that I could try out some different technologies but I didn’t want to polute the workshop repository. Luckily, we can do this using the git clone command. Command Here is the basic command. Replace “Branch Name” with the name of your branch, “Git Repo” with the url to your Git repository, and “Folder Name” to the directory that you want to clone the branch into.

Read More ›

More Articles