You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: shell/TODO.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,3 +6,9 @@ of template, so it that can be passed on.
6
6
-[ ] Add a flag for staged to get `--cached` flag.
7
7
-[ ] How to automated the install process for upgrades. Maybe the JS + shell script as NPM package or at least on GitHub with cURL install.
8
8
-[ ] 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