Skip to content

Instantly share code, notes, and snippets.

@vojto
Created March 15, 2012 15:10
Show Gist options
  • Select an option

  • Save vojto/2044711 to your computer and use it in GitHub Desktop.

Select an option

Save vojto/2044711 to your computer and use it in GitHub Desktop.

iCubes Git Tricks

Colors

Add this to your ~/.gitconfig

[color]
  branch = auto
  diff = auto
  status = auto

Especially the git status color are super-useful!

gitg

sudo apt-get install gitg

Then do gitg from your repository. You will get nice GUI for browsing history and committing changes.

@disolovyov
Copy link
Copy Markdown

Doing git config --global color.ui true in command line should be easier than editing the file directly.

Also, all Git GUIs (except probably GitHub's) do the same thing, but you have to click stuff instead. 😱

@vojto
Copy link
Copy Markdown
Author

vojto commented Mar 15, 2012

Yeah but I tried gitg and I really like it, unlike the others. Also it's very simple to use which is a big plus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment