https://github.com/aurora-saas/git_autosquash
aurora / git_autosquash
https://github.com/aurora-saas/git_autosquash
git linux
Last synced: 12 months ago
JSON representation
aurora / git_autosquash
- Host: GitHub
- URL: https://github.com/aurora-saas/git_autosquash
- Owner: aurora-saas
- License: cc0-1.0
- Created: 2025-03-26T03:30:23.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-26T05:40:21.000Z (over 1 year ago)
- Last Synced: 2025-06-06T17:09:29.307Z (about 1 year ago)
- Topics: git, linux
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
```markdown
# aurora-git_autosquash
A NodeJS project to squash a git repo into another git repo. This project takes in the local paths of two git repositories and squashes the history of the first repository into the second repository.
## Usage
Run the script by executing:
```sh
node index.js --source=/path/to/source/repo --dest=/path/to/dest/repo
```
Replace `/path/to/source/repo` and `/path/to/dest/repo` with the actual local paths to your repositories.
If you already have the repositories on disk and do not want to clone again, you can use:
```sh
node index.js --source=/path/to/source/repo --dest=/path/to/dest/repo --skipClone
```
```