Module workspace_node_tools::git
source · Expand description
§Git
This module provides a set of functions to interact with git.
Structs§
Functions§
- Given an input of the “main” branch name, returns all the files that have changed since the current branch was created
- Returns commits since a particular git SHA or tag. If the “since” parameter isn’t provided, all commits from the dawn of man are returned
- Get the diverged commit from a particular git SHA or tag.
- Grabs the last known publish tag info for all packages in the monorepo
- Grabs the last known publish tag info for a package
- Grabs the full list of all tags available on upstream or local
- Given a specific git sha, finds all files that have been modified since the sha and returns the absolute filepaths.
- Get the branch (last) name for a commit
- Get the current branch name
- Get the current commit id
- Get the first commit in a branch
- Get the previous commit id
- Pushes all changes in the monorepo without verification and follow tags
- Tags the current commit with a message
- Verify if as uncommited changes in the current working directory