Skip to content

Latest commit

 

History

History
61 lines (36 loc) · 1.26 KB

index.md

File metadata and controls

61 lines (36 loc) · 1.26 KB

git topic-*

Topic branch aliases

These aliases are simple starting points for a simple topic flow.

Lots of people have lots of ideas about how to do various git flows.

Some people like to use a topic branch for a new feature, or a hotfix patch, or refactoring work, or some spike research, etc.

Show your project's topic base branch name:

git topic-base-branch

Begin your topic work by creating a new topic branch:

git topic-begin <name>

End your topic work by finishing your existing topic branch:

git topic-end

Optional: synchronize your topic work, which pushes and pulls:

git topic-sync

Optional: move your topic branch name i.e. rename your topic branch:

git topic-move

Ideas for your own alias customizations:

  • Notify your team, such as by sending an email, posting to chat, etc.

  • Trigger testing of the new topic branch to ensure all tests succeed.

  • Update your project management software with the new topic name.

Customize these aliases as you like for your own workflow.