Skip to content

Instantly share code, notes, and snippets.

@bil0u
Last active June 28, 2019 23:49
Show Gist options
  • Save bil0u/c15497fcdce96d61b49afbed6a9807c3 to your computer and use it in GitHub Desktop.
Save bil0u/c15497fcdce96d61b49afbed6a9807c3 to your computer and use it in GitHub Desktop.
[Git repository best practices] Some best practices ot manage properly a git repo #git #bestpractices

Init repo

  • Set the remote URL

  • Create a .gitignore

  • Add a README.md

  • Init git flow * : git flow init

    Please use these prefixes to configure flow. Re-run git flow init -f if you made any mistake to override.

    Key  Value
    production  master
    development  develop
    features  feature/
    releases  release/
    hotfixes  hotfix/
    support  support/
    version  v
(Install git flow [here](https://danielkummer.github.io/git-flow-cheatsheet/))

Start developing

If you've never heard about git flow, or features branches, please take 10 minutes to learn the principles here. DO IT, NOW. I MEAN, REALLY !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment