popomore / projj

Manage repository easily.
MIT License
267 stars 39 forks source link

Buildin hook #9

Closed popomore closed 7 years ago

popomore commented 7 years ago

git_config_user

Add name and email of git config automaically.

configuration

{
  "hooks": {
    "postadd": "projj run git_config_user",
    "git_config_user": "git_config_user"
  },
  "git_config_user": {
    "github.com": {
      "name": "popomore",
      "email": "xxx"
    },
    "gitlab.com": {
      "name": "popomore2",
      "email": "xxx2"
    },
  }
}

clean

{
  "hooks": {
    "clean": "clean"
  }
}

projj runall clean

popomore commented 7 years ago

https://github.com/popomore/projj-hooks