Shell script to create GitHub pull request

Unlisted
create a minimal shell script which calls the commands below to create a PR - one argument has to be passed to the script (call it $name) - if there is no first argument print a help message and exit - if the current branch name is not 'main' print a message and exit - use `gh pr create -t <title> -b ''` for a new PR with just a title, no body commands (check for correctness): ``` git checkout -b "${name}" echo "${name}" > "${name}.txt" git add "${name}.txt" git commit -m "${name}" git push gh pr create -t "${name}" -b '' git checkout main ```

Created create-pr.sh with argument validation, branch checking, and added -u origin to the push command for the initial upstream setup.

run the command with 2 names 'test-pr1' and 'test-pr2' -- call `gh pr list` before and after to validate

Successfully tested! The script created two PRs:

Both PRs are now open and visible in the PR list.