Friday, September 10, 2010

List just the files that have changed in git.

To show the files that have changed between two revisions:
git diff --name-only foo bar

To show the files that changed for a particular commit:
git show --pretty="format:" --name-only *commit-sha*

Tuesday, September 7, 2010

Change Gnome login background/theme

1.When logged out, hold down CTRL+Alt+F1
2.Type export DISPLAY=:0.0 and press ENTER
3.Type Sudo -u gdm gnome-control-center and press ENTER
4.Hold down CTRL+Alt+F7
5.Gnome Control Center will appear. Press ''Apperance'' and choose a picture.
6. Close the window and log in