1.0.6 • Published 5 months ago

git-sync-to-other-git-by-temp v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

git-sync

1、将 targetGit 的 targetBranch内容 全量覆盖到 originGit 的 tempBranch ,commit 一次

2、将 originGit 的 fromBranch 内容 合并到 originGit 的 tempBranch

3、originGit 的 tempBranch 全量覆盖到 targetGit 的 targetBranch, 且 push tempBranch 本次操作

import run from "git-sync";

run({
    originGit: 'git@github.com:threfo/git-sync-by-temp-branch.git',
    targetGit:'git@github.com:threfo/git-sync-by-temp-branch.git',
    fromBranch: 'test',
    targetBranch: 'main',
    syncPathName: 'sync',
    tempBranch: 'temp'
})
1.0.6

5 months ago

1.0.5

5 months ago

1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.0

6 months ago