From b2c937e03a8f6b20f723ff824d6efc5c1e495cbc Mon Sep 17 00:00:00 2001 From: spacewander Date: Wed, 11 Mar 2015 14:47:08 +0800 Subject: [PATCH] add wiki for git-merge-into --- Commands.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Commands.md b/Commands.md index f470ea2..0ad7305 100644 --- a/Commands.md +++ b/Commands.md @@ -13,6 +13,7 @@ - [`git delete-tag`](#git-delete-tag) - [`git delete-merged-branches`](#git-delete-merged-branches) - [`git fresh-branch`](#git-fresh-branch) + - [`git merge-into`](#git-merge-into) - [`git graft`](#git-graft) - [`git alias`](#git-alias) - [`git ignore`](#git-ignore) @@ -475,6 +476,14 @@ Create empty local branch `name`: $ git fresh-branch docs ``` +## git merge-into + +Merge `src` branch into `dest`, and keep yourself on current branch. If `src` branch not given, it will merge current one to `dest`: + +```bash +$ git merge-into [src] dest +``` + ## git graft Merge commits from `src-branch` into `dest-branch`. (`dest-branch` defaults to `master`.)