i want to have no other branch history commit when i merge other branch to master. how can i do it ?
as we know:
git pull --rebase origin test # mean: only history commit no merge commit.
git pull --no-ff origin test # mean: history commit and merge commit.
git pull --ff-only origin test # mean: only history commit no merge commit.
i want to "only merge commit ", how ? pls. like this:
https://github.com/torvalds/linux/commits/master
further question:
if i use "--squash", it will not auto log "Merge branch 'xxx' of xxxx" or "Merge tag 'xxx' of xxxx" when merge. need write it on my hand ?