Git Notes

When a requirement of new feature or bugfix is coming

  1. Create branch from develop branch.
  2. Happy coding;), daily commit, merge from develop and resolve conflicts.
  3. If completed, create a pull request for other developers to review.
  4. Waiting for others' approve and merge actions.
  5. Done or keep improving.

I worked half a day, and turns out I'm not working on the right branch. :(

Don't be upset, all you need to do is to convert uncommited changes into a patch file.

  1. Stage modifications.
  2. Create a patch for staged files, save it anywhere you can locate.
  3. Extract the patch to your own branch.
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,449评论 0 10
  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的阅读 13,552评论 5 6
  • 人生就是一个大蜜蜂,采得百花成蜜后,为谁辛苦为谁甜。很多人一生都在叩问,人生的意义是什么?生命的真谛是什么?人为什...
    海月中天阅读 439评论 0 2
  • 这段海报出自岳云鹏和孙越的相声《卖挂票》。在相声里,小岳岳要在保利剧院唱三天的戏(礼拜五、礼拜六、礼拜天)。作为一...
    gio33阅读 1,389评论 34 14
  • 医疗保险,防范的是因为意外或疾病的门诊、住院的治疗费用。这种保险采用的是补偿原则来报销,先花费,然后拿着花费...
    温洪阅读 198评论 0 0