git-merge-*: add page (#9386)

* git merge-into: add page

* git merge-repo: add page

* Apply suggestions for git-merge-into

* Apply suggestions for git-merge-repo
pull/1/head
pg99696 2022-10-31 04:01:26 +05:30 committed by GitHub
parent fcadddc0b1
commit f63e2da79b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,13 @@
# git merge-into
> Merge one branch into another branch.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-merge-into>.
- Merge a source branch into a specific destination branch:
`git merge-into {{source_branch}} {{destination_branch}}`
- Merge current branch into a specific destination branch:
`git merge-into {{destination_branch}}`

View File

@ -0,0 +1,13 @@
# git merge-repo
> Merge two repository histories.
> Part of `git-extras`.
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-merge-repo>.
- Merge a repository's branch into the current repository's directory:
`git merge-repo {{path/to/repo}} {{branch_name}} {{path/to/directory}}`
- Merge a remote repository's branch into the current repository's directory, not preserving history:
`git merge-repo {{path/to/remote_repo}} {{branch_name}} .`