15
Copyright 2010, Intridea Inc. All Rights Reserved. Git & WorkFlow Practice @yorzi Lightning Talk in Xi'an Rubyists Party 2014/12/21

Git & WorkFlow Practice

  • Upload
    gwylan

  • View
    134

  • Download
    2

Embed Size (px)

DESCRIPTION

Git & WorkFlow Practice. @yorzi Lightning Talk in Xi'an Rubyists Party 2014/12/21. http://zh-cn.whygitisbetterthanx.com. Workflow. Subversion-Style Workflow. Integration Manager Workflow. Dictator and Lieutenants Workflow. Intridea’s Git-Flow. Vincent Driessen’ Git-Flow. - PowerPoint PPT Presentation

Citation preview

Page 1: Git &  WorkFlow Practice

Copyright 2010, Intridea Inc. All Rights Reserved.

Git & WorkFlow Practice

@yorziLightning Talk in Xi'an Rubyists Party

2014/12/21

Page 2: Git &  WorkFlow Practice

Copyright 2010, Intridea Inc. All Rights Reserved.

Page 3: Git &  WorkFlow Practice

Copyright 2010, Intridea Inc. All Rights Reserved.

http://zh-cn.whygitisbetterthanx.com

Page 4: Git &  WorkFlow Practice

Copyright 2010, Intridea Inc. All Rights Reserved.

Workflow

Page 5: Git &  WorkFlow Practice

Copyright 2010, Intridea Inc. All Rights Reserved.

Subversion-Style Workflow

Page 6: Git &  WorkFlow Practice

Copyright 2010, Intridea Inc. All Rights Reserved.

Integration Manager Workflow

Page 7: Git &  WorkFlow Practice

Copyright 2010, Intridea Inc. All Rights Reserved.

Dictator and Lieutenants Workflow

Page 8: Git &  WorkFlow Practice

Copyright 2010, Intridea Inc. All Rights Reserved.

Intridea’s Git-Flow

http://nvie.com/posts/a-successful-git-branching-model/

Vincent Driessen’ Git-Flow

Page 9: Git &  WorkFlow Practice

Copyright 2010, Intridea Inc. All Rights Reserved.

Page 10: Git &  WorkFlow Practice

Copyright 2010, Intridea Inc. All Rights Reserved.

Tool: GitFlow

https://github.com/nvie/gitflowhttp://ihower.tw/blog/archives/5140http://jeffkreeftmeijer.com/2010/why-arent-you-using-git-flow

Page 11: Git &  WorkFlow Practice

Copyright 2010, Intridea Inc. All Rights Reserved.

Tool: Git-Goggles

https://github.com/nowells/git-goggleshttp://teebes.com/blog/22/introducing-git-goggles

Page 12: Git &  WorkFlow Practice

Copyright 2010, Intridea Inc. All Rights Reserved.

Git Tricks Git auto-completion

http://www.codethatmatters.com/2010/01/git-autocomplete-in-mac-os-x/

Easy logalias gl='git log --pretty=format:"%Cgreen

%h%Creset%x09%an%x09%Cblue%ar%Creset%x09%s"'

Display branch name in terminalexport PS1="\u@\h\w\[$txtcyn\]\

$git_branch\[$txtrst\]:”

Page 13: Git &  WorkFlow Practice

Copyright 2010, Intridea Inc. All Rights Reserved.

Git Commands merge & rebase

new and delete branches

one local → multiple remotes

Page 14: Git &  WorkFlow Practice

Copyright 2010, Intridea Inc. All Rights Reserved.

More Resources Git Official Site

http://git-scm.com/ http://gitbook.liuhui998.com/

Learn Git via PPT http://www.slideshare.net/littlebtc/git-5528339

Why Git is Better than X http://zh-cn.whygitisbetterthanx.com/

Page 15: Git &  WorkFlow Practice

Copyright 2010, Intridea Inc. All Rights Reserved.

Thank You!