Skip to content

Commit 4a48402

Browse files
committed
update TODO.md
1 parent 3fd4623 commit 4a48402

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

shell/TODO.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,9 @@ of template, so it that can be passed on.
66
- [ ] Add a flag for staged to get `--cached` flag.
77
- [ ] How to automated the install process for upgrades. Maybe the JS + shell script as NPM package or at least on GitHub with cURL install.
88
- [ ] Figure out how to switch between staged and not, with `--cached`. Like passing a param to the shell script and having two aliases. Or to have it as pass of the shell script to fallback to all if anything is staged. Or just control with filenames e.g. `git c .` or `git c package*` - oh wait, the shell script doesn't look at what is passed to `git commit`, only what is staged or not.
9+
- Fix bug where message is on modified and staged but only staged is commit with gacm
10+
11+
If the flag is omitted, then the standard `git status` logic is followed:
12+
look for staged changes and use them, otherwise use unstaged changes.
13+
there's a problem - commit does not take cached flag - but it will use implied staged or not. so do not pass through.
14+
BUT could look at advanced mode of pass through names of files to commit IF they are handled by status and commit, but using manual git add is good enough probably. esp for untracked files which need add anyway.

0 commit comments

Comments
 (0)