Some contributtion to add to this Drupal module with which you have been working on?
Very easy, take note:
- Go to the folder of your module, previously cloned with git. For example, my contribution this morning:
- git clone --recursive --branch 7.x-1.x http://git.drupal.org/project/cpn.git
- cd cpn
- Create a new branch, for example: git branch 1912834-weight
- Change to this branch to make the changes: git checkout 1912834-weight
- Make your changes
- Add them with: git add your-file-modified
- Commit them, git commit -m "comment your changes as much as possible"
- Create your new patch: git diff 7.x-1.x > cpn-weightsettings-1912834.patch
- That's it :-)
More info: