Julia GitHub Workflow
Use Git and the GitHub CLI (gh) for version control and pull request workflows
in Julia package development.
Start Clean
- Keep
upstreamas source of truth andoriginas your fork. - Start from the current upstream default branch (
masterormain), not an old feature branch. - Pull upstream first, then create a new branch from that tip.
git checkout master # or main
git pull upstream master # or main
git checkout -b descriptive-branch-name
Basic Flow
git add file1.jl file2.jl
git commit -m "Add feature X that does Y"
git push -u origin descriptive-branch-name
Creating Pull Requests
gh pr create \
--title "Your PR Title" \
--body "Description of changes" \
--repo OriginalOrg/PackageName.jl
Reference
- Best Practices - Commit messages, branch naming, atomic commits
- Common Operations - Undo, sync, stash
Related Skills
julia-package-dev- Package development basics, including multi-package workflows
Source: krastanov/juliallmagentskills — distributed by TomeVault.