#git
Tag
-
How to check out the default git branch
Many open source projects are taking steps to update terminology to be more inclusive. The largest of these changes has been renaming the “trunk” branch of git repositories from master to main.
-
Creating an open source Python project from scratch
Have you had a great idea for an open-source Python library that you think people will find useful, but you don’t know where to begin in creating and publishing it?
-
Generate git release notes automatically
It is common practice for release notes to consist of a list of the Pull Requests which have been merged since the last release.
-
Pretty git logs with `git lg`
This is a repost of a Stack Overflow answer, mainly to preserve it for myself. Slipp Thompson posted some really nice aliases for showing branch topology in the git command line.
-
Quick Tip - git delete merged branches
Here’s a quick line to run in your terminal to delete all local git branches which have already been merged into master.