This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
howto-git [2012-10-15 15:52] glen [Create new package] |
howto-git [2012-10-17 13:55] baggins [Create new package] removed not needed info, '-u' for push does that magic |
||
---|---|---|---|
Line 167: | Line 167: | ||
git add <specfile> | git add <specfile> | ||
git commit -m 'Init commit' | git commit -m 'Init commit' | ||
+ | | ||
+ | slug.py init and git add can be replaced with: | ||
+ | | ||
+ | ./builder -a <specfile> | ||
| | ||
and then: | and then: | ||
| | ||
git push -u origin master | git push -u origin master | ||
- | |||
- | After pushing for the first time you may also need to set local master branch to track remote master: | ||
- | |||
- | git branch --set-upstream master origin/master | ||
====Use template specs for new packages ==== | ====Use template specs for new packages ==== | ||
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: |