- #46
d12678cThanks @Andarist! - Don't error on already committed symlinks and executables that stay untouched
-
#41
295d847Thanks @s0! - Makerepoargument required, and remove therepositoryargument which was deprecated and previously could be used in its place. -
#40
4117e39Thanks @s0! - Refactor & clean up options for multiple functions- For
commitFilesFromDirectory:- Rename
workingDirectorytocwdfor consistency across repos, and utils likeexec - Make
cwda required argument
- Rename
- For
commitChangesFromRepo:- Merge
repoDirectoryandaddFromDirectoryinto a single required argumentcwd. This folder will now both be used to filter which files are added, and to find the root of the repository. - Introduce
recursivelyFindRootoption (default:true), to optionally search for the root of the repository, by checking for existence of.gitdirectory in parent directories, starting fromcwd.
- Merge
This effectively removes all usage of process.cwd() within the package, instead requiring all usage to be very explicit with specifying paths.
- For
-
#37
21c9eafThanks @s0! - Throw an error when executable files are encountered -
#33
92be707Thanks @s0! - IntroducefilterFilesargument forcommitChangesFromRepoAllow for a custom function to be specified to filter which files should be included in the commit
-
#33
92be707Thanks @s0! - IntroduceaddFromDirectoryoption forcommitChangesFromRepoto allow users to specify a subdirectory of the git repository that should be used to add files from, rather then adding all changed files.This is useful when trying to emulate the behavior of running
git add .from a subdirectory of the repository. -
#33
92be707Thanks @s0! - Automatically find root incommitChangesFromRepowhenrepoDirectoryis unspecified.While this does result in a behavioral change for an existing argument, it's considered non-breaking as before
commitChangesFromRepowould just not work when run from a subdirectory of a repo whenrepoDirectorywas not specified.
- #34
231d400Thanks @h3rmanj! - More gracefully handle symlinks, and ignore them when included in .gitignore
-
#30
8954e86Thanks @s0! - Re-enable provenance when publishing to NPM -
#27
d8800b2Thanks @dependabot! - Bump dependencies
-
1324104: Migrating package to @changesets namespace
Ownership of the repository has moved from https://github.com/s0/ghcommit to https://github.com/changesets/ghcommit. As part of this we're also moving the NPM package to the @changesets namespace. No functional changes have happened, so this can be a drop-in replacement for
@s0/ghcommit.
- 85ec677: Address issue with Ref HEAD not found
- a704fb3: Rename repository argument to repo, and deprecate old argument
- a704fb3: Allow message to be specified as single string
- 642fb77: Allow for base commit to be specified with commitChangesFromRepo
- be55175: First major release
- 804978f: Initial publish from CI