Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/banyan/git_modified_files
https://deno.land/x/git_modified_files
https://github.com/banyan/git_modified_files
Last synced: 16 days ago
JSON representation
https://deno.land/x/git_modified_files
- Host: GitHub
- URL: https://github.com/banyan/git_modified_files
- Owner: banyan
- License: mit
- Created: 2022-10-22T09:06:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-22T17:12:05.000Z (over 2 years ago)
- Last Synced: 2024-12-28T00:59:51.976Z (about 2 months ago)
- Language: TypeScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git_modified_files
>A Git subcommand to list modified files in git commit or from current working tree.
This CLI tool was created with the motivation to easily edit files that are currently being modified or have been modified in the recent commit, and is intended to be used in conjunction with [fzf](https://github.com/junegunn/fzf), [tig](https://github.com/jonas/tig), etc.
## Installation
```
❯ deno install --allow-run -n git-modified_files https://deno.land/x/[email protected]/main.ts
```NOTE: Git has a convenient mechanism that allows users to create their own subcommands by simply placing an executable file called git-xxx, therefore it uses `git-modified_files` instead of `git_modified_files`.
## Usage
Get modified files from current working tree if no argument is given
```
❯ touch a.txt
❯ git modified_files
a.txt
```Get modified files in git commit if object (sha1) is given
```
❯ git modified_files fbb1185
a.txt
```## License
MIT