Questions tagged [git-status]

Shows which files in a Git repository have been modified and/or staged and what state they are in since the last commit

This is the main tool in to see the status of the files on the stage and what state they are in.

Running this command will tell you what tracked files have been added, deleted or modified since the last commit.

On a fresh repo or branch, you should see the following:

$ git status
# On branch master
nothing to commit (working directory clean)

See also

References

170 questions
-1
votes
1 answer

Doing a commit in github

Actually i am a beginner in using github. so here is my question.when i try to show commits in github i have a problem,so before adding the modification when i run git status i not only get the modifications inside the file as changes modified but…
-2
votes
2 answers

Check for uncommitted changes in another branch x, without checking out branch x

I want to determine if another branch has uncommitted changes, but I don't want to check that branch out. Basically I want to find out if another branch has a "dirty index". This means either staged or unstaged changes that are uncommitted. Is this…
user5047085
-2
votes
1 answer

Git status shows 2 files that I deleted

How do I get rid of these two files? On branch master Your branch is up-to-date with 'origin/master'. Changes to be committed: (use "git reset HEAD ..." to unstage) deleted: public_html/images/summits/StrongerThanYouThink.jpg …
PioneerMan
  • 189
  • 1
  • 10
-7
votes
2 answers

Git status is not working correctly

I don't think that my git status command is working correctly in this terminal session: prompt> git add . prompt> git status On branch feature-api_sync Changes to be committed: (use "git reset HEAD ..." to unstage) modified: …
Wang-Zhao-Liu Q
  • 12,331
  • 27
  • 70
  • 106
1 2 3
11
12