码迷,mamicode.com
首页 > 其他好文 > 详细

Personal experience on source code management(Git)

时间:2020-02-14 00:46:28      阅读:58      评论:0      收藏:0      [点我收藏+]

标签:ams   correct   elf   bug   str   span   mes   sys   exp   

Understand what‘s Distributed SCM

  1. fetch the updates from remote before you start coding or pushing your changes
  2. waiting until the command process(eg:check-out) finished itself in case  breaking the git file system.
  3. double confirm on the merge conflict you had made

Check in your source code correctly and elegantly

  1. diff your changes before check in your source code
  2. check in your updates based on the feature you implemented or bug you fixed
  3. commit your code with clear message(https://chris.beams.io/posts/git-commit/)
  4. keep an eye on the output message from git command
  5. commit with --amend option if needed

Personal experience on source code management(Git)

标签:ams   correct   elf   bug   str   span   mes   sys   exp   

原文地址:https://www.cnblogs.com/makesense/p/12305930.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!