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:25]
matkor Renaming packages
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 198: Line 203:
   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 and commit changes.
 =====More information on git===== =====More information on git=====
  
howto-git.txt ยท Last modified: 2016-03-21 10:36 by glen