git: merge two branches: what direction?

Regarding the alternatives git checkout iphone -b iphone31 git merge master and git checkout master -b iphone31 git merge iphone they will have identical ease or difficulty, it is like arguing whether a glass is half full or half empty. Version tree perception How we look at version trees are in some way just our … Read more

how can I customize git’s merge commit message?

I’m aware this isn’t answering the original question, but for the benefit of git noobs like myself who reach this page because it’s currently the first Google result for “git change merge commit message”, I’ll mention that it is possible to: git commit –amend -m”New commit message” to change the commit message of a merge … Read more

What are the differences between `–squash` and `–no-ff –no-commit`?

The differences These options exists for separate purposes. Your repository ends up differently. Let’s suppose that your repository is like this after you are done developing on the topic branch: –squash If you checkout master and then git merge –squash topic; git commit -m topic, you get this: –no-ff –no-commit Instead, if you do git … Read more

How to do a fast-forward merge on GitHub?

Looks like GitHub does not support this – and this is a TERRIBLE affair. You basically CANNOT run an atomic, linear commit strategy (the best there is) using the GitHub UI. Note that Bitbucket DOES support this, and has much more fine-grained options for setting up the PR landing/integration strategy. Namely the ‘Rebase, fast-forward’ option which … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)