How do I show files that need to be "commented"?
Or, is there a program for Linux-based distro that behaves like the Eclipse Git module, which shows me the files that need to be added and "done"?
How do I show files that need to be "commented"?
Or, is there a program for Linux-based distro that behaves like the Eclipse Git module, which shows me the files that need to be added and "done"?
The git status
command provides various information about the current state of the repository. This includes what changes are in the staging area (and will be included in the next commit), which files have modifications in the current directory but outside the staging area and which are the "unknowns" present in the directory but ignored by git.
For example:
~/D/web (master) $ git status
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: Main.hs
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# Routes.hs
no changes added to commit (use "git add" and/or "git commit -a")