git status

Possibly save 1 hour of your time: There may be times when you are using Visual Studio and Git, it is not clear on what is the latest status of the files on the current branch. As an example you may undo some changes but it still show up on changes in Visual Studio.

If you are using Git, there should be a .git folder in the root folder where you have your source code.

When you use command prompt and go to this root folder and has git extensions installed, you can get status of your current branch by running the command
               git status
This will give you a list of untracked/modified files. It will also displayed what has been committed from this branch.

git-status

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s