Links for 2011-09-13

This entry was posted in Uncategorized. Bookmark the permalink. Both comments and trackbacks are currently closed.

3 Comments

  1. Craig Hughes
    Posted September 14, 2011 at 02:34 | Permalink

    I have these aliased through .gitconfig:

    changes = log --graph --pretty=tformat:'%h : %C(yellow)%d%Creset %C(bold white)%s%Creset : %Cgreen%an%Creset %C(cyan)%cr (%ci)%Creset' --date=relative
    id = describe --tags --dirty
    wdiff = diff --color-words
    
  2. Craig Hughes
    Posted September 14, 2011 at 02:36 | Permalink

    You can also combine checkout -t and checkout -b to give your local tracking branch some other name:

    git checkout -b my_name -t origin/his_name
    
  3. Posted September 15, 2011 at 22:57 | Permalink

    ‘git checkout -b my_name -t origin/his_name’ — now that makes sense. thanks for the tip Craig!