git prompting me before commit -
What is the one way git has given me a "Are you trying to commit one in the production branch. Are you sure (Y / not)? "Messages before every commitment is as clear from the message, I want only one specific branch (say the production branch) to avoid making any mockery.
Set your hint properly and look at the branch you are always in -
If you want better tools like better git prompts, ruby version prompts, python virtual and prompt, etc. If you want the correct solution that you describe here, set some nickname script for git comma, a Bash-it -
pre-commit < / Code> hooks, which will look at your current branch and will prompt you as needed.
Comments
Post a Comment