gg_git 4.2.0 copy "gg_git: ^4.2.0" to clipboard
gg_git: ^4.2.0 copied to clipboard

A collection of git helper scripts for repository checks and other utilities.

Changelog #

4.2.0 - 2026-08-13 #

Changed #

  • Rework copyright headers

Fixed #

  • Cleanup copy right headers. Update to dart 3.13. Auto fixes.
  • Cleanup copy right headers. Update to dart 3.13. Auto fixes. Setup quick-check pipeline.

4.1.2 - 2026-08-11 #

Changed #

  • Provide gg via npm
  • Fix shell changes

4.1.1 - 2026-08-10 #

Fixed #

  • Various log and color fixes across the gg command output

4.1.0 - 2026-08-09 #

Changed #

  • Improve commit behavior
  • Move gg commit conventions from gg_git to gg_one_core
  • Move the git and process plumbing to gg_git

4.0.0 - 2026-08-08 #

Changed #

  • Allow to pass custom options to exec of dir commands.

3.2.2 - 2026-08-04 #

Added #

  • Add cached repo test helpers (initCachedRepo, initCachedRepoPair, initCachedGit, initCachedLocalAndRemoteGit); move pushLocalChangesUpstream from gg_one to gg_git; fix stale emoji expectations from gg_status_printer 1.4.2

Changed #

  • Merge origin/main and tighten dependency constraints (dart pub upgrade --tighten)

3.2.1 - 2026-08-02 #

Fixed #

  • IsPushed no longer derives the push state from translated »git status« prose. It evaluates the untranslated git status --porcelain=v2 --branch output instead — # branch.ab +<ahead> -<behind> for the remote state and the machine-readable entries for staged, unstaged, unmerged and untracked files. A missing # branch.ab header means »the branch has no remote«, and an unrecognized status no longer throws
  • Fix git errors: own stash in create ticket, locale-independent push state

3.2.0 - 2026-07-30 #

Added #

  • Add IsLocked command reporting if .git/index.lock exists
  • GgGitBase.waitUntilUnlocked waits up to two minutes for another git process to release the git index and throws when it does not

Changed #

  • Handle lock files in .git

Fixed #

  • Commit and Checkout wait for .git/index.lock instead of failing with fatal: Unable to create '.../.git/index.lock': File exists.

3.1.1 - 2026-07-30 #

Changed #

  • Gg Multi: changed references to pub.dev

Fixed #

  • Fix an issue with empty repos

3.1.0 - 2026-07-01 #

Changed #

  • Revert to version 3.0.6 and update changelog accordingly
  • feat(gg): do checkout + .gg/.ticket.json ticket marker; TS format no direct eslint & P:\programs\flutter/bin/internal/exit_with_errorlevel.bat

3.0.6 - 2025-08-16 #

Added #

  • Add ignoreUnstaged option to lastChangesHash

3.0.5 - 2025-08-16 #

Added #

  • Add --verbose option to lastChangesHash

3.0.4 - 2025-08-16 #

Added #

  • Add options to log details when calculating a hash

3.0.3 - 2025-08-16 #

Added #

  • Add .gitattributes file
  • Small kidney_core_test
  • Added a little change for testing kidney_core

Fixed #

  • Fix pipeline

3.0.2 - 2025-08-11 #

Added #

  • Add .gitattributes

Changed #

  • kidney: changed references to git
  • kidney: set kidney status to merged

3.0.1 - 2025-08-11 #

Changed #

  • initGit creates .gitattributes file

3.0.0 - 2025-08-11 #

Changed #

  • BREAKING CHANGE V.3.0.0: EOL LF or AUTO IS ENFORCED

2.5.22 - 2025-06-07 #

Changed #

  • Replace line endings with linux line endings

2.5.21 - 2025-06-07 #

Changed #

  • Replace not platform save hash algorithm by an own one

2.5.20 - 2025-06-05 #

Changed #

  • Create a new version

2.5.19 - 2025-06-05 #

Fixed #

  • Fix unit test errors

2.5.18 - 2025-06-05 #

Changed #

  • Update to dart 3.8.0

2.5.17 - 2025-06-05 #

Added #

  • Added exception for UpstreamBranch.get

2.5.16 - 2024-10-03 #

Added #

  • Add createBranch and branchName to test_helpers.dart
  • Add command UpstreamBranch

Changed #

  • Improved error output when a sub command is not listed in commands
  • When commit with ammendWhenNotPushed = true is called and no upstream branch is set, changes will be ammended

2.5.15 - 2024-08-30 #

Changed #

  • LastChangesHash will be the same independent of carriage return resp. line breaks

2.5.14 - 2024-08-30 #

Changed #

  • Make unit tests work on windows

2.5.13 - 2024-08-20 #

Fixed #

  • Fix an error - Hash calculation with binary files did not work

2.5.12 - 2024-04-13 #

Removed #

  • dependency pana

2.5.11 - 2024-04-12 #

Removed #

  • dependency to gg_install_gg, remove ./check script

2.5.10 - 2024-04-11 #

Changed #

  • Upgrade dependencies

2.5.9 - 2024-04-11 #

Changed #

  • Improve mocks

2.5.8 - 2024-04-09 #

Removed #

  • 'Pipline: Disable cache'

2.5.7 - 2024-04-09 #

Fixed #

  • TestHelpers: CHANGELOG.md version did not have the civer format

2.5.6 - 2024-04-09 #

Fixed #

  • TestHelpers: addAndCommitVersions: appendToPubspec: can only append one time

2.5.5 - 2024-04-08 #

Added #

  • TestHelpers: addAndCommitVersions: Allow to append additional content to pubspec.yaml

Changed #

  • Kidney: Auto check all repos
  • Rework changelog
  • 'Github Actions Pipeline'
  • 'Github Actions Pipeline: Add SDK file containing flutter into .github/workflows to make github installing flutter and not dart SDK'

2.5.4 - 2024-04-05 #

Removed #

  • Outputs to fix pipeline errors

2.5.3 - 2024-04-05 #

Added #

  • Add output to fix github hash error

2.5.2 - 2024-04-05 #

Fixed #

  • Ammending with ammendWhenNotPushed will not overwrite the previous commit message

2.5.1 - 2024-04-04 #

Added #

  • option --ammend-when-not-pushed to Commit
  • deleteFileAndCommit
  • ModifiedFiles: Allow to ignore files that were deleted
  • addAndCommitPubspecFile
  • pushLocalChanges
  • initLocalAndRemoteGit
  • revertLocalChanges
  • Test helpers
  • IsPushed.get has an option ignoreUnCommittedChanges which allows to ignore uncommitted changes.
  • HasRemote returns true when git has a remote repo
  • HeadMessage: Allow to return head message also when not everything is committed.
  • modified-files
1
likes
160
points
11.5k
downloads

Documentation

API reference

Publisher

verified publisherinlavigo.com

Weekly Downloads

A collection of git helper scripts for repository checks and other utilities.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, gg_args, gg_console_colors, gg_hash, gg_is_github, gg_log, gg_process, gg_status_printer, meta, mocktail, path

More

Packages that depend on gg_git