How do I show the files that need to be shared?

5

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"?

    
asked by anonymous 31.01.2014 / 20:25

2 answers

8

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")
    
31.01.2014 / 20:28
1

If you want a way to do this using a GUI, Git Force is a program that runs on Linux . Stack Overflow in English also has an answer that discloses several alternatives for user in linux here . (the first answer)

    
31.01.2014 / 20:32