Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Jul 252011
 

List all git config options

Answer:

To show the current git global options, you can use the command "git config --list"

# git config --list

user.name=John Doe
[email protected]
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=auto
color.ui=true
color.pager=true
..
Jul 072011
 

Stage new and modified files in Git

Answer:

To stage new and modified files so that they will be committed in the future, you can use the simple command:

# git add .

So all the newly created and modified files will be staged.