How does git delete branches that have been merged into the master and online branches and have not been committed within three days?
ringa_lee
ringa_lee 2017-05-02 09:26:35
0
1
771

As the title says
git branch -r --merged origin/online
This command can do some things, but it takes three days

ringa_lee
ringa_lee

ringa_lee

reply all(1)
刘奇

Standardize branch naming, this is the way we adopt it in practice.

For example, if you create a new feature branch, you can name it feature/something_awsome-nickname-151209.

Explain:

  • feature means that this is a feature branch, release and hotfix are also similar.

  • /, used to separate branch types and specific names.

  • something_awsome, which is a short description of the function, separated by underscores.

  • -, separator

  • nickname, creator’s abbreviation

  • 151209, creation date

Regarding branch naming, I compiled the branch specifications with reference to Git flow.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template