commit example codes