Linux command
git-stage 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Stage files
git stage [file]
Stage all changes
git stage -A
Interactive staging
git stage -p
说明
git stage is a built-in alias for `git add`. It stages changes for the next commit. The term "stage" more clearly describes the action of adding changes to the index than "add" does.
FAQ
What is the git-stage command used for?
git stage is a built-in alias for `git add`. It stages changes for the next commit. The term "stage" more clearly describes the action of adding changes to the index than "add" does.
How do I run a basic git-stage example?
Run `git stage [file]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more git-stage examples?
This page includes 3 examples for git-stage, plus related commands for nearby Linux tasks.