www/content/blog/commands/git-import-commits.md

437 B
Raw Blame History

title linkTitle date description
Import commits from one git repo to another Import commits from one git repo to another 2018-09-25 Import commits from one git repo to another

This imports commits from a repo in the ../masterfiles folder and applies them to the repository inside the current folder : {{< highlight sh >}} (cd ../masterfiles/; git format-patch stdout origin/master) | git am {{< /highlight >}}