https://github.com/shitijhalder/git-cherry-picking
Cherry-Picking Became Easy! Cherry-pick multiple commits at one time with no limits! This script simplifies the process of cherry-picking commits from one Git repository to another. Designed to be user-friendly and efficient, it automates the tedious task of applying multiple commits, ensuring a seamless experience.
https://github.com/shitijhalder/git-cherry-picking
bash-script cherry-pick open-source
Last synced: about 2 months ago
JSON representation
Cherry-Picking Became Easy! Cherry-pick multiple commits at one time with no limits! This script simplifies the process of cherry-picking commits from one Git repository to another. Designed to be user-friendly and efficient, it automates the tedious task of applying multiple commits, ensuring a seamless experience.
- Host: GitHub
- URL: https://github.com/shitijhalder/git-cherry-picking
- Owner: ShitijHalder
- Created: 2025-03-02T06:19:15.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2025-03-02T07:26:40.000Z (about 2 months ago)
- Last Synced: 2025-03-02T08:24:20.706Z (about 2 months ago)
- Topics: bash-script, cherry-pick, open-source
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cherry-Picking Made Easy!
Cherry-pick multiple commits at one time with no limits!
## Before You Start
Before you start, keep in mind:
- Ensure you are running the script inside the target Git repository.
- Verify you have the correct username, permissions, and access tokens.
- Double-check your source and target branch names.
- Have a backup of your repository if necessary.
- Get the Personal Access Token (PAT) from here: [https://github.com/settings/tokens](https://github.com/settings/tokens)
- Make sure you have the `git` and `curl` commands available in your terminal.
- This script is designed for GitHub repositories only.## How to Use
1. **Clone the target repository:**
```bash
git clone
cd
2. **Download the script using curl & Make the script executable:**
```bash
curl -O https://raw.githubusercontent.com/ShitijHalder/git-cherry-picking/main/cherry-picking.bash && chmod +x cherry-picking.bash
3. **Run the script:**
```bash
./cherry-picking.bash
4. **Follow the prompts:**
The script will prompt you for the necessary input parameters:
- Source repository URL
- Target repository URL
- Source branch
- Target branch
- Commit list (full hashes, comma-separated)
- Git username
- Git personal access token
5. **Wait for the process to complete:**
This may take a few seconds depending on the number of commits and size of your repository.6. **And Voilà, you're done!**
Your due cherry-picks are now done, my guy. Let us move on to the next task, shall we?