Skip to content

Links for 2011-09-13

3 Comments

  1. Craig Hughes
    September 14, 2011

    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
    September 14, 2011

    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. September 15, 2011

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