{"_id":"@belloai/git-sync-by-temp-branch","_rev":"3-b0ca5fe00783610f55daed322ebfdce3","name":"@belloai/git-sync-by-temp-branch","dist-tags":{"latest":"1.0.10"},"versions":{"1.0.7":{"name":"@belloai/git-sync-by-temp-branch","version":"1.0.7","keywords":[],"author":{"name":"Thomas Lau"},"license":"ISC","_id":"@belloai/git-sync-by-temp-branch@1.0.7","maintainers":[{"name":"powan","email":"powan.li@foxmail.com"},{"name":"elysion72513","email":"elysion72513@gmail.com"},{"name":"thomas-ballo","email":"liurongliang@belloai.com"},{"name":"ouxiaohui","email":"627424435@qq.com"}],"homepage":"https://github.com/threfo/git-sync-by-temp-branch#readme","bugs":{"url":"https://github.com/threfo/git-sync-by-temp-branch/issues"},"dist":{"shasum":"af53f3adfef20aec86429b99db3249133673ec04","tarball":"https://registry.npmjs.org/@belloai/git-sync-by-temp-branch/-/git-sync-by-temp-branch-1.0.7.tgz","fileCount":10,"integrity":"sha512-EI0av32XVggj2p2zD+BFyjxMwwMH0bqxX1ZrFV1dNG7UavHZ0Cyo6Y2kcUvbv4TUA0Z8i9lHRbtz1/l3Hfk/Gg==","signatures":[{"sig":"MEUCIC694AsBr0pBkjyBINE29kkDz5T8NrUWRCaQ+tqHXUrtAiEAhaIfgL63ItuCfUT3202byLLKtNagXYE47hmPz9nWIo0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16420},"main":"index.js","type":"module","gitHead":"d36574bf7deeabc572d58c6c27c51051e887df26","scripts":{"test":"node ./test/index.js","test2":"node ./test/runAfterConflict.js","lint:eslint":"eslint --fix","lint:prettier":"prettier --write --loglevel warn"},"_npmUser":{"name":"thomas-ballo","email":"liurongliang@belloai.com"},"repository":{"url":"git+https://github.com/threfo/git-sync-by-temp-branch.git","type":"git"},"_npmVersion":"10.7.0","description":"- 1、将 targetGit 的 targetBranch内容 全量覆盖到 originGit 的 tempBranch ，commit 一次","directories":{},"_nodeVersion":"20.15.0","dependencies":{"path":"^0.12.7","chalk":"^5.1.2","execa":"^9.3.0","fs-extra":"^10.1.0","is-git-dirty":"^2.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.6.0","globals":"^15.8.0","prettier":"^3.3.2","@eslint/js":"^9.6.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3"},"_npmOperationalInternal":{"tmp":"tmp/git-sync-by-temp-branch_1.0.7_1720684083820_0.5698207802920374","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"@belloai/git-sync-by-temp-branch","version":"1.0.8","keywords":[],"author":{"name":"Thomas Lau"},"license":"ISC","_id":"@belloai/git-sync-by-temp-branch@1.0.8","maintainers":[{"name":"powan","email":"powan.li@foxmail.com"},{"name":"elysion72513","email":"elysion72513@gmail.com"},{"name":"thomas-ballo","email":"liurongliang@belloai.com"},{"name":"ouxiaohui","email":"627424435@qq.com"}],"homepage":"https://github.com/threfo/git-sync-by-temp-branch#readme","bugs":{"url":"https://github.com/threfo/git-sync-by-temp-branch/issues"},"dist":{"shasum":"e6603533256958851ed0d5805a0e4a1807f4a4b8","tarball":"https://registry.npmjs.org/@belloai/git-sync-by-temp-branch/-/git-sync-by-temp-branch-1.0.8.tgz","fileCount":10,"integrity":"sha512-9kXZ0X1c0ENAbh5qqOLYURnDNbINhvlFYHrUE2WgKDWVfoh0NTQb69AwZg9etyAATCbeZCfLtRWI2aUPHp9aWA==","signatures":[{"sig":"MEUCIDz4m6kPyib9KTqcqhVrVsLho7ruBSmCrKcj7bizENfhAiEA5tsJnoUdT/0tYikt69C9C/LkIcV+uOE+OEJTW45tcD4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16680},"main":"index.js","type":"module","gitHead":"eef0276d31dd5b04d3bed297b8fc8b5d8c7a0f4c","scripts":{"test":"node ./test/index.js","test2":"node ./test/runAfterConflict.js","lint:eslint":"eslint --fix","lint:prettier":"prettier --write --loglevel warn"},"_npmUser":{"name":"thomas-ballo","email":"liurongliang@belloai.com"},"repository":{"url":"git+https://github.com/threfo/git-sync-by-temp-branch.git","type":"git"},"_npmVersion":"10.7.0","description":"- 1、将 targetGit 的 targetBranch内容 全量覆盖到 originGit 的 tempBranch ，commit 一次","directories":{},"_nodeVersion":"20.15.0","dependencies":{"path":"^0.12.7","chalk":"^5.1.2","execa":"^9.3.0","fs-extra":"^10.1.0","is-git-dirty":"^2.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.6.0","globals":"^15.8.0","prettier":"^3.3.2","@eslint/js":"^9.6.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3"},"_npmOperationalInternal":{"tmp":"tmp/git-sync-by-temp-branch_1.0.8_1720689896471_0.3796679325474934","host":"s3://npm-registry-packages"}},"1.0.9":{"name":"@belloai/git-sync-by-temp-branch","version":"1.0.9","keywords":[],"author":{"name":"Thomas Lau"},"license":"ISC","_id":"@belloai/git-sync-by-temp-branch@1.0.9","maintainers":[{"name":"powan","email":"powan.li@foxmail.com"},{"name":"elysion72513","email":"elysion72513@gmail.com"},{"name":"thomas-ballo","email":"liurongliang@belloai.com"},{"name":"ouxiaohui","email":"627424435@qq.com"}],"homepage":"https://github.com/threfo/git-sync-by-temp-branch#readme","bugs":{"url":"https://github.com/threfo/git-sync-by-temp-branch/issues"},"dist":{"shasum":"574ed5baf7d83f3263e2f3134beb7665a9633a32","tarball":"https://registry.npmjs.org/@belloai/git-sync-by-temp-branch/-/git-sync-by-temp-branch-1.0.9.tgz","fileCount":10,"integrity":"sha512-Fs2pbR7JkbfmcLDrHWnp6W7n2U0MneiE6XsBos/ixPdoj0mwNcZyJk8hXmH/1r4yU9gX1PmD87MrFjjMrEb2fA==","signatures":[{"sig":"MEUCIB9ccGWZyMoue7fpwDNbKFtu0HV2mqI+qi4WUzIJ955hAiEA1GyWtEkMhASmV/8MTQHzzUy55F5DhJSRTwkfus0ZasE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16784},"main":"index.js","type":"module","gitHead":"a831e27a2d23cf19a091a67cdb783f67692ef22e","scripts":{"test":"node ./test/index.js","test2":"node ./test/runAfterConflict.js","lint:eslint":"eslint --fix","lint:prettier":"prettier --write --loglevel warn"},"_npmUser":{"name":"thomas-ballo","email":"liurongliang@belloai.com"},"repository":{"url":"git+https://github.com/threfo/git-sync-by-temp-branch.git","type":"git"},"_npmVersion":"10.7.0","description":"- 1、将 targetGit 的 targetBranch内容 全量覆盖到 originGit 的 tempBranch ，commit 一次","directories":{},"_nodeVersion":"20.15.0","dependencies":{"path":"^0.12.7","chalk":"^5.1.2","execa":"^9.3.0","fs-extra":"^10.1.0","is-git-dirty":"^2.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.6.0","globals":"^15.8.0","prettier":"^3.3.2","@eslint/js":"^9.6.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3"},"_npmOperationalInternal":{"tmp":"tmp/git-sync-by-temp-branch_1.0.9_1720690845615_0.8001818332237223","host":"s3://npm-registry-packages"}},"1.0.10":{"name":"@belloai/git-sync-by-temp-branch","version":"1.0.10","type":"module","description":"- 1、将 targetGit 的 targetBranch内容 全量覆盖到 originGit 的 tempBranch ，commit 一次","main":"index.js","scripts":{"test":"node ./test/index.js","test2":"node ./test/runAfterConflict.js","lint:eslint":"eslint --fix","lint:prettier":"prettier --write --loglevel warn"},"keywords":[],"dependencies":{"chalk":"^5.1.2","execa":"^9.3.0","fs-extra":"^10.1.0","is-git-dirty":"^2.0.2","path":"^0.12.7"},"repository":{"type":"git","url":"git+https://github.com/threfo/git-sync-by-temp-branch.git"},"author":{"name":"Thomas Lau"},"license":"ISC","bugs":{"url":"https://github.com/threfo/git-sync-by-temp-branch/issues"},"homepage":"https://github.com/threfo/git-sync-by-temp-branch#readme","devDependencies":{"@eslint/js":"^9.6.0","eslint":"^9.6.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","globals":"^15.8.0","prettier":"^3.3.2"},"publishConfig":{"access":"public"},"_id":"@belloai/git-sync-by-temp-branch@1.0.10","gitHead":"62e718ccf6d5f445a0b7082f1d11ddf1dc3af450","_nodeVersion":"20.15.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-hWZyjn9xM0m9Tv7ZeLpxHMF3Gs1m/vl4FJ4QmTkmI71oxuaGAUxOmrBZWBmoFE9UVi6Sq+yTEMCFo5RMDrwTeA==","shasum":"4515e323074f837804dead213b1aeacf211cae7c","tarball":"https://registry.npmjs.org/@belloai/git-sync-by-temp-branch/-/git-sync-by-temp-branch-1.0.10.tgz","fileCount":10,"unpackedSize":16913,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDrIjouZtm3i1dHcIUF9GMQypTZgo6DNYHdqdkIRrG32AiEAtNyep1HH6Mdi9vyXCzvNK4gOAd21GNcL2lwuEtQ3NOs="}]},"_npmUser":{"name":"thomas-ballo","email":"liurongliang@belloai.com"},"directories":{},"maintainers":[{"name":"powan","email":"powan.li@foxmail.com"},{"name":"elysion72513","email":"elysion72513@gmail.com"},{"name":"thomas-ballo","email":"liurongliang@belloai.com"},{"name":"ouxiaohui","email":"627424435@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/git-sync-by-temp-branch_1.0.10_1720698445664_0.7567352241072327"},"_hasShrinkwrap":false}},"time":{"created":"2024-07-11T07:48:03.744Z","modified":"2024-07-11T11:47:26.036Z","1.0.7":"2024-07-11T07:48:03.992Z","1.0.8":"2024-07-11T09:24:56.605Z","1.0.9":"2024-07-11T09:40:45.747Z","1.0.10":"2024-07-11T11:47:25.790Z"},"bugs":{"url":"https://github.com/threfo/git-sync-by-temp-branch/issues"},"author":{"name":"Thomas Lau"},"license":"ISC","homepage":"https://github.com/threfo/git-sync-by-temp-branch#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/threfo/git-sync-by-temp-branch.git"},"description":"- 1、将 targetGit 的 targetBranch内容 全量覆盖到 originGit 的 tempBranch ，commit 一次","maintainers":[{"name":"powan","email":"powan.li@foxmail.com"},{"name":"elysion72513","email":"elysion72513@gmail.com"},{"name":"thomas-ballo","email":"liurongliang@belloai.com"},{"name":"ouxiaohui","email":"627424435@qq.com"}],"readme":"# git-sync\n\n- 1、将 targetGit 的 targetBranch内容 全量覆盖到 originGit 的 tempBranch ，commit 一次\n\n- 2、将 originGit 的 fromBranch 内容 合并到 originGit 的 tempBranch\n\n- 3、originGit 的 tempBranch 全量覆盖到 targetGit 的 targetBranch, 且 push tempBranch 本次操作\n\n```js\nimport run from 'git-sync-to-other-git-by-temp'\n\nrun({\n  originGit: 'git@github.com:threfo/git-sync-by-temp-branch.git',\n  targetGit: 'git@github.com:threfo/git-sync-by-temp-branch.git',\n  fromBranch: 'test',\n  targetBranch: 'main',\n  syncPathName: 'sync',\n  tempBranch: 'temp',\n})\n```\n","readmeFilename":"README.md"}