Checking Status
Goals
- Learn how to check the status of the repository
Check the status of the repository
Use the git status
command to check the current status of the repository.
Execute:
git status
You should see
Output:
$ git status
On branch master
nothing to commit, working tree clean
The status command reports that there is nothing to commit. This means that the repository has all the current state of the working directory. There are no outstanding changes to record.
We will use the git status
command to continue to monitor the state between the repository and the working directory.
当前内容版权归 gitimmersion 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 gitimmersion .