{"id":22907978,"url":"https://github.com/p6m7g8-dotfiles/p6git","last_synced_at":"2026-04-02T12:21:47.454Z","repository":{"id":43067595,"uuid":"471516396","full_name":"p6m7g8-dotfiles/p6git","owner":"p6m7g8-dotfiles","description":"P6 Dotfiles: POSIX.2 Git utility functions for streamlined command-line usage","archived":false,"fork":false,"pushed_at":"2026-03-25T04:45:20.000Z","size":129,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-26T04:24:38.838Z","etag":null,"topics":["bash","cli","git","p6","p6m7g8","sh","shell","terminal","zsh"],"latest_commit_sha":null,"homepage":"https://continuouslearning.io","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/p6m7g8-dotfiles.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-03-18T21:03:37.000Z","updated_at":"2026-03-24T22:56:32.000Z","dependencies_parsed_at":"2024-03-24T20:32:42.378Z","dependency_job_id":"97ff6c05-f45b-40c4-ac75-989c77cc2a99","html_url":"https://github.com/p6m7g8-dotfiles/p6git","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/p6m7g8-dotfiles/p6git","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p6m7g8-dotfiles%2Fp6git","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p6m7g8-dotfiles%2Fp6git/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p6m7g8-dotfiles%2Fp6git/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p6m7g8-dotfiles%2Fp6git/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/p6m7g8-dotfiles","download_url":"https://codeload.github.com/p6m7g8-dotfiles/p6git/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p6m7g8-dotfiles%2Fp6git/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31306003,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T09:48:21.550Z","status":"ssl_error","status_checked_at":"2026-04-02T09:48:19.196Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","cli","git","p6","p6m7g8","sh","shell","terminal","zsh"],"created_at":"2024-12-14T03:19:09.299Z","updated_at":"2026-04-02T12:21:47.446Z","avatar_url":"https://github.com/p6m7g8-dotfiles.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# P6's POSIX.2: p6git\n\n## Table of Contents\n\n- [Badges](#badges)\n- [Summary](#summary)\n- [Contributing](#contributing)\n- [Code of Conduct](#code-of-conduct)\n- [Usage](#usage)\n  - [Hooks](#hooks)\n  - [Functions](#functions)\n- [Hierarchy](#hierarchy)\n- [Author](#author)\n\n## Badges\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-yellowgreen.svg)](https://opensource.org/licenses/Apache-2.0)\n\n## Summary\n\nTODO: Add a short summary of this module.\n\n## Contributing\n\n- [How to Contribute](\u003chttps://github.com/p6m7g8-dotfiles/.github/blob/main/CONTRIBUTING.md\u003e)\n\n## Code of Conduct\n\n- [Code of Conduct](\u003chttps://github.com/p6m7g8-dotfiles/.github/blob/main/CODE_OF_CONDUCT.md\u003e)\n\n## Usage\n\n### Hooks\n\n- `deps` -\u003e `p6df::modules::p6git::deps()`\n- `init` -\u003e `p6df::modules::p6git::init(_module, dir)`\n\n### Functions\n\n#### cli\n\n##### p6git/lib/cli/add.sh\n\n- `p6_git_cli_add(...)`\n  - Args:\n    - ... -\n- `p6_git_cli_add_all()`\n\n##### p6git/lib/cli/branch.sh\n\n- `p6_git_cli_branch_Delete(...)`\n  - Args:\n    - ... -\n- `p6_git_cli_branch_create(...)`\n  - Args:\n    - ... -\n- `p6_git_cli_branch_verbose_verbose(...)`\n  - Args:\n    - ... -\n\n##### p6git/lib/cli/checkout.sh\n\n- `p6_git_cli_checkout(...)`\n  - Args:\n    - ... -\n- `p6_git_cli_checkout_default()`\n\n##### p6git/lib/cli/clean.sh\n\n- `p6_git_cli_clean_fdx(...)`\n  - Args:\n    - ... -\n\n##### p6git/lib/cli/clone.sh\n\n- `p6_git_cli_clone(...)`\n  - Args:\n    - ... -\n\n##### p6git/lib/cli/commit.sh\n\n- `p6_git_cli_commit_last_edit(...)`\n  - Args:\n    - ... -\n- `p6_git_cli_commit_squash(...)`\n  - Args:\n    - ... -\n- `p6_git_cli_commit_verbose(...)`\n  - Args:\n    - ... -\n- `p6_git_cli_commit_with_message(msg, ...)`\n  - Args:\n    - msg -\n    - ... -\n\n##### p6git/lib/cli/diff.sh\n\n- `p6_git_cli_diff(...)`\n  - Args:\n    - ... -\n- `p6_git_cli_diff_head(...)`\n  - Args:\n    - ... -\n- `p6_git_cli_diff_previous(...)`\n  - Args:\n    - ... -\n\n##### p6git/lib/cli/fetch.sh\n\n- `p6_git_cli_fetch_all(...)`\n  - Args:\n    - ... -\n\n##### p6git/lib/cli/grep.sh\n\n- `p6_git_cli_grep(...)`\n  - Args:\n    - ... -\n- `p6_git_cli_grep_files(...)`\n  - Args:\n    - ... -\n\n##### p6git/lib/cli/init.sh\n\n- `p6_git_cli_init(...)`\n  - Args:\n    - ... -\n\n##### p6git/lib/cli/log.sh\n\n- `p6_git_cli_log_shas(file)`\n  - Args:\n    - file -\n- `p6_git_cli_log_since(since, [fmt=format:%h %ci %al %d %s])`\n  - Args:\n    - since -\n    - OPTIONAL fmt - [format:%h %ci %al %d %s]\n\n##### p6git/lib/cli/merge.sh\n\n- `p6_git_cli_merge(...)`\n  - Args:\n    - ... -\n\n##### p6git/lib/cli/pull.sh\n\n- `p6_git_cli_pull_rebase_autostash_ff_only()`\n\n##### p6git/lib/cli/push.sh\n\n- `p6_git_cli_push_fu()`\n- `p6_git_cli_push_tags(...)`\n  - Args:\n    - ... -\n- `p6_git_cli_push_u(...)`\n  - Args:\n    - ... -\n\n##### p6git/lib/cli/rebase.sh\n\n- `p6_git_cli_rebase(...)`\n  - Args:\n    - ... -\n- `p6_git_cli_rebase_abort()`\n- `p6_git_cli_rebase_continue()`\n\n##### p6git/lib/cli/remote.sh\n\n- `p6_git_cli_remote_verbose(...)`\n  - Args:\n    - ... -\n\n##### p6git/lib/cli/reset.sh\n\n- `p6_git_cli_reset_hard_head(...)`\n  - Args:\n    - ... -\n- `p6_git_cli_reset_head_ago_one(...)`\n  - Args:\n    - ... -\n- `p6_git_cli_reset_soft_head(n)`\n  - Args:\n    - n -\n\n##### p6git/lib/cli/restore.sh\n\n- `p6_git_cli_restore_stagged(...)`\n  - Args:\n    - ... -\n\n##### p6git/lib/cli/revert.sh\n\n- `p6_git_cli_revert(...)`\n  - Args:\n    - ... -\n\n##### p6git/lib/cli/stash.sh\n\n- `p6_git_cli_stash_list()`\n\n##### p6git/lib/cli/status.sh\n\n- `p6_git_cli_status_s(...)`\n  - Args:\n    - ... -\n\n#### p6git\n\n##### p6git/init.zsh\n\n- `p6df::modules::p6git::deps()`\n- `p6df::modules::p6git::init(_module, dir)`\n  - Args:\n    - _module -\n    - dir -\n\n#### p6git/lib\n\n##### p6git/lib/branch.sh\n\n- `p6_git_branch_process(branch_tmpl, user, msg, pr_num)`\n  - Args:\n    - branch_tmpl -\n    - user -\n    - msg -\n    - pr_num -\n- `str branch = p6_git_branch_base_get()`\n- `str branch = p6_git_branch_flast_get()`\n- `str branch = p6_git_branch_get()`\n- `str branch = p6_git_branch_template_render(branch_tmpl, user, pr_num, rest, kind)`\n  - Args:\n    - branch_tmpl -\n    - user -\n    - pr_num -\n    - rest -\n    - kind -\n- `str branch_tmpl = p6_git_branch_p6_get()`\n\n##### p6git/lib/cli.sh\n\n- `p6_git_cli(...)`\n  - Args:\n    - ... -\n\n##### p6git/lib/util.sh\n\n- `p6_git_util_checkout_default()`\n- `p6_git_util_clobber()`\n- `p6_git_util_commit_push_fix()`\n- `p6_git_util_commit_push_squashed_fix()`\n- `p6_git_util_diff_default(...)`\n  - Args:\n    - ... -\n- `p6_git_util_dirty_get()`\n- `p6_git_util_inside_tree()`\n- `p6_git_util_log(...)`\n  - Args:\n    - ... -\n- `p6_git_util_shas_for_string(file, search_string)`\n  - Args:\n    - file -\n    - search_string -\n- `p6_git_util_sync()`\n- `p6_git_util_update()`\n- `path scratch_file = p6_git_util_msg_collect(editor, msg)`\n  - Args:\n    - editor -\n    - msg -\n- `str org = p6_git_util_org_from_origin()`\n- `str repo = p6_git_util_repo_from_origin()`\n- `str sha = p6_git_util_sha_short_get()`\n- `str symbol = p6_git_util_symbolic_ref(ref)`\n  - Args:\n    - ref -\n- `str symbol = p6_git_util_symbolic_ref_full(ref)`\n  - Args:\n    - ref -\n\n## Hierarchy\n\n```text\n.\n├── init.zsh\n├── lib\n│   ├── branch.sh\n│   ├── cli\n│   │   ├── add.sh\n│   │   ├── branch.sh\n│   │   ├── checkout.sh\n│   │   ├── clean.sh\n│   │   ├── clone.sh\n│   │   ├── commit.sh\n│   │   ├── diff.sh\n│   │   ├── fetch.sh\n│   │   ├── grep.sh\n│   │   ├── init.sh\n│   │   ├── log.sh\n│   │   ├── merge.sh\n│   │   ├── pull.sh\n│   │   ├── push.sh\n│   │   ├── rebase.sh\n│   │   ├── remote.sh\n│   │   ├── reset.sh\n│   │   ├── restore.sh\n│   │   ├── revert.sh\n│   │   ├── stash.sh\n│   │   └── status.sh\n│   ├── cli.sh\n│   └── util.sh\n├── README.md\n└── t\n    ├── branch.t\n    ├── cli-branch.t\n    ├── cli-core.t\n    ├── cli-network.t\n    ├── cli-remote.t\n    ├── cli-reset.t\n    ├── cli-stash.t\n    ├── init.t\n    ├── util-network.t\n    └── util.t\n\n4 directories, 36 files\n```\n\n## Author\n\nPhilip M. Gollucci \u003cpgollucci@p6m7g8.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp6m7g8-dotfiles%2Fp6git","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fp6m7g8-dotfiles%2Fp6git","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp6m7g8-dotfiles%2Fp6git/lists"}