Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xixixao/hg-split
split hg commits by files
https://github.com/xixixao/hg-split
Last synced: 19 days ago
JSON representation
split hg commits by files
- Host: GitHub
- URL: https://github.com/xixixao/hg-split
- Owner: xixixao
- Created: 2016-01-24T22:30:53.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-24T22:31:08.000Z (about 9 years ago)
- Last Synced: 2024-11-14T20:47:51.200Z (3 months ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hg-split
Takes a list of files and puts changes made to them in this commit into a separate sibling commit. Uses `hg amend` to automatically rebase the children of the original commit.
See [hg-split-interactive](http://github.com/xixixao/hg-split-interactive) for a demo.
Install:
```bash
npm install -g xixixao/hg-split
```Run:
```bash
hg-split -b new-bookmark-name -m \"New commit message\" -- foo.txt bar.txt"
```Show help:
```bash
hg-split --help
```## Requirements
`hg amend` installed, see [hg-experimental](https://bitbucket.org/facebook/hg-experimental/) for instructions.