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 12:36] baggins [Create new package] add --set-upstream information |
howto-git [2012-10-15 15:53] glen builder -a note |
||
---|---|---|---|
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 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: | After pushing for the first time you may also need to set local master branch to track remote master: |