Skip to content

Instantly share code, notes, and snippets.

@oskosk
Last active August 29, 2015 14:13
Show Gist options
  • Save oskosk/fb18207b2f878ef05e7a to your computer and use it in GitHub Desktop.
Save oskosk/fb18207b2f878ef05e7a to your computer and use it in GitHub Desktop.
Git extras how-to

#Git extras how-to

Transcript from http://vimeo.com/45506445

Installation on Ubuntu

sudo apt-get install git-extras

Git setup Overview

Tipically you do  git init and you start adding files and commiting those…

But, git-extras has

git setup so that goes ahead an does it for you.

So, you can see that there's an initial commit with that 2 files.

Another is, say for example, for .DS_Store files.

Instead of manually editing git ignore, you can

git ignore .DS_Store

so that just adds it to .gitignore for you. That change is not made so you need to git add && git commit that

Now... There's a command called git summary which basically just tells you somethings about your repos. So it has the project itselef;

  • the age which here is two minutes

  • Activity stats.isSocket() the best guess of how long have been working on the project vs the age.

    project : example repo age : 7 weeks active : 22 days commits : 129 files : 242 authors : 104 osk 100.0%

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