Saturday, 23 April 2016

How to check your modified file status using GIT Bash ?


Check modified files
$ git status
On branch master
nothing to commit, working directory clean


Add new file in your local
$ git add README


Check again the modified files
$ git status
On branch master
Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)
    new file:   README


Check status with short info
$ git status -s
 A README

No comments:

Post a Comment

Note: only a member of this blog may post a comment.