User Tools

Site Tools


howto-git

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
Previous revision
Next revision Both sides next revision
howto-git [2014-07-29 09:20]
glen [Set your configuration]
howto-git [2014-10-02 12:29]
glen
Line 117: Line 117:
    git push --dry-run origin master    git push --dry-run origin master
  
 +===== Modify commit messages =====
 +
 +commit messages can be annotated with ''​git notes''​ feature.
 +
 +Read more on mailing list: http://​lists.pld-linux.org/​mailman/​pipermail/​pld-devel-en/​2012-July/​022786.html
 =====Update your repository===== =====Update your repository=====
  
Line 197: Line 202:
 Often it is good idea to start working over new spec starting from spec templates available: Often it is good idea to start working over new spec starting from spec templates available:
   git clone git://​git.pld-linux.org/​projects/​template-specs.git   git clone git://​git.pld-linux.org/​projects/​template-specs.git
 +
 +===== Rename package =====
 +Assume we want lowercase python-Flask:​
 +  $ ssh git@git.pld-linux.org ​  move python-Flask ​ python-flask
 +try build to download new version:
 +  nice builder -v python-flask
 +rename spec file:
 +  $ cd python-flask/​
 +  $ git mv python-Flask.spec ​ python-flask.spec ​
 +Update spec with name change and commit changes.
  
 =====More information on git===== =====More information on git=====
howto-git.txt · Last modified: 2016-03-21 10:36 by glen