Difference between revisions of "Git commit -a, --all"
Jump to navigation
Jump to search
m (Ant moved page Git commit -a, all to Git commit -a, --all) |
Tags: Mobile web edit, Mobile edit |
||
Line 14: | Line 14: | ||
− | <code>git commit -a, --all</code>Tell the command to automatically stage files that have been modified and deleted, but new files you have not told Git about are not affected. Ref: <code>[[git commit --help]]</code> | + | <code>git commit -a, --all</code>Tell the command to automatically [[stage]] files that have been modified and deleted, but new files you have not told Git about are not affected. Ref: <code>[[git commit --help]]</code> |
== Related terms == | == Related terms == |
Revision as of 07:24, 7 February 2023
git status On branch main Your branch is up to date with 'origin/main'. Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory) modified: MyModifiedFile.txt modified: MyOtherModifiedFile.txt no changes added to commit (use "git add" and/or "git commit -a")
git commit -a, --all
Tell the command to automatically stage files that have been modified and deleted, but new files you have not told Git about are not affected. Ref: git commit --help
Related terms
See also
git commit [ -a | -an | --amend | --amend --reset-author | --no-verify | -m | -S ]
git
: [config | init | status ]
,git add
,git rm
,git commit
,git push, git pull
,.gitconfig
,.gitignore
,git
(clone
,fetch
,pull
),git tag
,git log
,git blame
, Merge Request, LFS,git branch
,git apply
,git rebase
,git diff
,git diff-tree
,git config --global
,remote | submodule | request-pull
,GIT_TRACE, GIT_CURL_VERBOSE
,clean
,main
,git show-ref
,git reset
,git prune
,git ls-remote origin
,git checkout
,git switch
,pathspec
,git credential-osxkeychain
,git version
,pre-commit
,git --help
, GitBook,refs/
Advertising: