deployment - How to turn off fast-forwarding in Git? -
We are trying to use GIT to develop our project.
We work from our personal treasure
To deploy on our hosting, we will send ftploy.com We used to test it, all the work was just manually deployed, but it does not work automatically, when we merge the pull-request to our Master Branch. I asked the support of this problem, the answer is: Currently, if you are using a bitbasket and using a merge, Need to turn off fast-forwarding on GET installs. Because I am a newbie, I can not understand what should I do and how my local GIT has been established which is linked to our main reserves on any other account? You want to close it for a given branch: For any branch: (from) Those commands are executed in repo where you want not fast-forward (see "" ).
< Code> git config branch.master.mergeoptions "--no-ff"
git config merge.ff false < / Code>
Comments
Post a Comment