Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tcmerge

Package Overview
Dependencies
Maintainers
11
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tcmerge

Command line tool, making it easier for developers to merge to master, when using the debitoor/teamcity-merge script

  • 4.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-50%
Maintainers
11
Weekly downloads
 
Created
Source

npm version

tcmerge

A command line tool making merge to master through teamcity-merge script easier for the developer. Before using this you should set up teamcity-merge

Installing

npm install -g tcmerge

Usage

> tcmerge "My awesome feature is done, it solves all kinds of problems"

In order for this to work, you have to be in a git repo. The branch you are currently on has to be an open pull request on github. And you have to have pushed your commits to the pull request branch on github.

tcmerge

  • Will detect if you do not have a pull request for your branch. And give an error.
  • Will detect if the pull request branch on github does not have the same commit as your current branch. And give an error
Merging pull request from forked repository
1. Checkout and pull master on local repository
$ git checkout master
$ git pull
2. Checkout new branch on local repository
$ git checkout -b merge-external-pull-request
3. Cherry pick commits from pull request

Copy the commit id from the pull request in GitHub.

$ git cherry-pick -x {commit id}

Repeat as necessary.

4. Push branch
$ git push --set-upstream origin merge-external-pull-request
5. Create a new pull request
$ hub pull-request -m "merge external pull request"
6. Merge new pull request
$ tcmerge "merge-external-pull-request Fixes #[EXTERNAL_PULL_REQUEST_NUMBER]"

That way the external PR will be closed when merge to master happens, and that merge commit will be linked to the external PR.

`prod

This module also contains the command prod

Requires HUB

brew install hub

Usage

You are on master branch with uncommitted changes you want to deploy to production

> prod "hotfix that is ready to go straight to production"

commit

This module also contains the command commit

Requires HUB

brew install hub

Usage

You are on master branch with uncommitted changes you want to turn into a pull request

> commit "code changes that are ready to be made into a pull request"

Keywords

FAQs

Package last updated on 11 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc