Difference between revisions of "Nice Version Control"

From FreekiWiki
Jump to navigation Jump to search
m (add links to cvs/svn, and category:distro)
m
Line 1: Line 1:
very basic and generic guidelines for working with others using a revision
+
Very basic and generic guidelines for working with others using a revision control system:
control system:
 
  
update your working copy before modifying anything
+
* Update your working copy before modifying anything
 +
* Always diff before you commit, to avoid committing anything unintentionally
 +
* Write accurate, meaningful and ideally concise commit messages.
 +
* Commit smaller, logically grouped changes together
 +
** (This makes it easier to revert a specific change without reverting unrelated stuff, too.)
 +
* Avoid conflicts when possible by knowing who's working on what parts
 +
* When implementing major changes, check in with others working on the project
 +
* Try to implement major changes in a branch first
 +
* Keep branches in sync, to make it easier to merge back into mainline
  
always diff before you commit, to avoid committing anything unintentionally
+
== See Also ==
 
+
For more information about specific revision control systems at freegeek:
write accurate, meaningful and ideally concise commit messages.
+
* [[CVS for coders]]
 
+
* [[Subversion for Coders]]
commit smaller, logically grouped changes together- this makes it easier to
 
revert a specific change without reverting unrelated stuff, too.
 
 
 
avoid conflicts when possible by knowing who's working on what parts
 
 
 
when implementing major changes, check in with others working on the project
 
 
 
try to implement major changes in a branch first
 
 
 
keep branches in sync, to make it easier to merge back into mainline
 
 
 
for more information about specific revision control systems at freegeek:
 
 
 
[[CVS_for_coders]]
 
[[Subversion_for_Coders]]
 
  
 
[[Category:Coders]]
 
[[Category:Coders]]
 
[[Category:Distro]]
 
[[Category:Distro]]

Revision as of 17:29, 4 October 2005

Very basic and generic guidelines for working with others using a revision control system:

  • Update your working copy before modifying anything
  • Always diff before you commit, to avoid committing anything unintentionally
  • Write accurate, meaningful and ideally concise commit messages.
  • Commit smaller, logically grouped changes together
    • (This makes it easier to revert a specific change without reverting unrelated stuff, too.)
  • Avoid conflicts when possible by knowing who's working on what parts
  • When implementing major changes, check in with others working on the project
  • Try to implement major changes in a branch first
  • Keep branches in sync, to make it easier to merge back into mainline

See Also

For more information about specific revision control systems at freegeek: