GIT版本管理专区

 

1. MissChangeId:

  step01. 从报错信息中获取:

  gitdir=$(git rev-parse --git-dir); scp -p -P 29418 fu_z@code.ctripcorp.com:hooks/commit-msg ${gitdir}/hooks/

  step02.提交

  git commit --amend -m "fixpush"

  step03.推送到远端

  git push origin HEAD:refs/for/releaseBranch20161102

 

更新契约:

C:\Chocolatey\chocolateyinstall\Nuget.exe push C:\Hotel.Product.SearchService.Entity.1.0.1.636.nupkg -s http://nuget.release.ctripcorp.com/repository/nuget-hosted -ApiKey 10f15088-a0bf-34e7-ba90-f594d725d707

Update-Package Hotel.Product.SearchService.Entity -version 1.0.1.636