User Tools

Site Tools


devel:git-commit-guidelines

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
devel:git-commit-guidelines [2015/11/23 13:09]
linuxmaniac [Delete Remote Branch]
devel:git-commit-guidelines [2016/11/14 22:22]
mslehto [Rename and commit file]
Line 326: Line 326:
 </code> </code>
  
 +==== Rename and commit file ====
 +
 +Create minimal commit when renaming file
 +
 +<code>
 +git mv module.c module_mod.c
 +git commit -m '...: renamed module file to match recommended pattern' module.c module_mod.c
 +</code>
devel/git-commit-guidelines.txt ยท Last modified: 2018/10/24 22:33 by henningw