Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
GIT-MERGE-REPO(1)		  Git Extras		     GIT-MERGE-REPO(1)

NAME
       git-merge-repo -	Merge two repo histories

SYNOPSIS
       git-merge-repo <repo> <branch> <directory> [--squash]

DESCRIPTION
       Merges  a  repository's	history	 with the current repository, inside a
       specified directory.

       Optional	--squash flag skips the	full history and  generates  only  one
       commit for the merge.

EXAMPLES
       Merges  a  local	 repo's	 frontend  branch  into	the current repo's web
       folder:

	   $ git merge-repo ../app/.git	frontend web

       Merges a	remote repo's master branch into the current repo's folder:

	   $ git merge-repo git@github.com:tj/git-extras.git master .

AUTHOR
       Written by Ivan Malopinsky <hello@imsky.co>

REPORTING BUGS
       <https://github.com/tj/git-extras/issues>

SEE ALSO
       <https://github.com/tj/git-extras>

				 October 2017		     GIT-MERGE-REPO(1)

NAME | SYNOPSIS | DESCRIPTION | EXAMPLES | AUTHOR | REPORTING BUGS | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=git-merge-repo&sektion=1&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help