Getting started with SourceTree, Git and git flow
来源:互联网 发布:encore cs6 mac 破解 编辑:程序博客网 时间:2024/05/07 03:45
转:https://github.com/GSoft-SharePoint/Dynamite/wiki/Getting-started-with-SourceTree,-Git-and-git-flow
The recommended git client app to contribute on Team Dynamite's project is Atlassian's SourceTree because of its Jimmy-proof integration of git-flow.
Create a github.com account
If you don't have one already, create a github.com account. If you work for GSoft, createan issue to ask one of the Team Dynamite owners to add you to a contributor's team for the project you want to work on.
If you are a third-party developer looking to contribute to Team Dynamite's projects, please fork the project in your own profile, make your improvements then submit a pull request to ask Team Dynamite to merge in your changes.
Download and install SourceTree
SourceTree can be found at http://www.sourcetreeapp.com/. It is preferred to Github for Windows or Visual Studio's git integration because only SourceTree gives you UI support to follow the git-flow development process.
During installation:
- Enter your full name and email address (your @gsoft.com email, if you work for GSoft)
- Choose the option to install the self-contained Git version to be used by when prompted
- Skip the Mercurial option
- Choose Putty as SSH option
- Enter your github.com username and password
Git basics
If you're unfamiliar with Git, take a walk through our step-by-step guide. Also, please take the time to review the basics on a tutorial site such as:
- http://gitimmersion.com/
- https://www.atlassian.com/git
- http://www-cs-students.stanford.edu/~blynn/gitmagic/
- http://stackoverflow.com/questions/315911/git-for-beginners-the-definitive-practical-guide
- Interactive web-based 15 minute tutorial: http://try.github.io/
- A look at git internals: http://ftp.newartisans.com/pub/git.from.bottom.up.pdf
You need to get comfortable with the concepts of:
- Cloning a repo
- Staging and committing changes
- Branching and merging
- Fetching and pulling
- Pushing to your origin repo on github.com
- Managing multiple remotes(origin, upstream, contributors' forks, etc.)
It really helps to get confortable with the git command line while learning Git, instead of relying on the SourceTree interface. You'll need to know your way around the command line if you want to leverage the full power of Git with more advanced features like the stash, rebasing and cherry-picking. Create some test repositories to play around with the various features before trying to contribute.
Using git-flow
SourceTree gives us a nice UI integration with git-flow, a robust workflow that helps us manage releases in a systematic way. You just have to press the git-flow button the the SourceTree application ribbon to start initializing git-flow on your local repository.
Take the time to understand the power of git-flow (its feature branches, releases and hotfixes):
- https://www.atlassian.com/git/workflows#!workflow-gitflow
- Make sure you memorize the workflow illustrated here:http://danielkummer.github.io/git-flow-cheatsheet/
SourceTree's git-flow integration is context aware. For example, when you are checked out on the develop branch, SourceTree's git-flow dialog only gives you the option of starting a new release or a new feature. When you are working on a feature branch, the dialog guides you in the right direction by suggesting that you finish your feature (which merges it back into the develop branch), and so on.
Move on to Git step-by-step: Part 1 >
- Getting started with SourceTree, Git and git flow
- Learning Source Control with Git and SourceTree.pdf
- sourcetree使用教程 分支 git flow
- 基于SourceTree 下的 Git Flow 模型
- Getting Started with Eclipse and the SWT
- Getting Started With Ruby and Rails
- Getting Started With Node.js and mongoDB
- Getting Started with Eclipse and Counterclockwise
- Getting Started with Kinect and Processing
- Getting Started With IronRuby And RSpec
- Getting started with OpenCL and GPU Computing
- Getting started with GWT, Maven and Eclipse
- Getting Started with JPA and Eclipse
- Getting started with OpenCL and GPU Computing
- NOTES ON GIT PRO CH1 GETTING STARTED
- [git] HOWTO work with git flow
- Git + SourceTree
- Git_git 分支管理模式 git-flow lesson3 应用SourceTree 进行 git-flow 管理
- java之jvm学习笔记二(类装载器的体系结构)
- libjingle源码解析
- mysql打开如何日志
- OpenCV学习:改变图像的对比度和亮度
- Dell服务器安装ubuntu server教程
- Getting started with SourceTree, Git and git flow
- java之jvm学习笔记三(Class文件检验器)
- JAVA中常用IO流类: DataInputStream和DataOutputStream
- js闭包理解
- Android4.3 蓝牙BLE初步
- 泛型服务层基本模板
- IntelliJ IDEA 14常用技巧
- js中this对象理解
- linux系统管理命令-X-Window系统