Giter Site home page Giter Site logo

xiangjihan / swoft-component Goto Github PK

View Code? Open in Web Editor NEW

This project forked from swoft-cloud/swoft-component

0.0 2.0 0.0 2.31 MB

๐Ÿ—‚ This is a Repository of centralized management of all Swoft components

Home Page: https://www.swoft.org

License: Apache License 2.0

PHP 93.80% JavaScript 2.22% HTML 0.04% Vue 3.60% CSS 0.01% Shell 0.31%

swoft-component's Introduction

Swoft Component

This reposiory is used to manage all swoft components.

IMPORTANT

All components will NOT be modified in the original repository of component, SHOULD ALWAYS be modified in this repository, also commit and push to this repository, and use git subtree push to sync changes to the original repository of component.

Usage

Add an Sub Repository

git subtree add --prefix=src/[folder] [repository] [ref] --squash

Note that --squash option is required.

e.g. Add swoft/pipeline component as an Sub Repository,

git subtree add --prefix=src/pipeline [email protected]:swoft-cloud/swoft-pipeline master --squash

Commit changes

Just use git commit as usual, and Push to this repository

Sync changes to the Original Repository of Component

git subtree push --prefix=src/[folder] [repository] [ref] --squash

Note that --squash option is required.

e.g. Add swoft/pipeline component as an Sub Repository

git subtree push --prefix=src/pipeline [email protected]:swoft-cloud/swoft-pipeline master --squash

Tips: You could use remote to instead of [repository] property for easier to use.
e.g. Add Remote first, git remote add -f pipeline [email protected]:swoft-cloud/swoft-pipeline.git,
after this, you could use pipeline instead of [repository],
for example git subtree push --prefix=src/pipeline pipeline master --squash

Release a new version of component

After Sync changes to the Original Repository of Component, you just need to Release a new version in the original repository of component.

Pull changes from the Original Repository of Component

We do NOT suggest modify code in the original repository, but if you do, you could use the command below to merge it.

git subtree pull --prefix=src/[folder] [repository] [ref] --squash

Note that --squash option is required.

e.g. Pull swoft/pipeline repository into src/pipeline

git subtree pull --prefix=src/pipeline [email protected]:swoft-cloud/swoft-pipeline master --squash

swoft-component's People

Contributors

aprchen avatar cinncwh avatar daydaygo avatar deivaliang avatar huangzhhui avatar hzmarico avatar inhere avatar jiankangmai avatar limingxinleo avatar luxin88 avatar stelin avatar whiteccinn avatar wujunze avatar xiangjihan avatar youyoubao avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.