User:Simotek:LeapGitPackaging

Jump to: navigation, search

This guide presumes you have set up your account as per https://en.opensuse.org/openSUSE:Git_Packaging_Workflow#Setting_up_your_account_at_src.opensuse.org

Create a fork of your package to work on `osc fork openSUSE:Leap:16.0 terminology`

```

 Forking git repo pool/terminology ...
  * Fork created: simotek/terminology
 Forking OBS package openSUSE:Leap:16.0/terminology ...
  * OBS apiurl: https://api.opensuse.org
  * Fork created: home:simotek:branches:openSUSE:Leap:16.0/terminology
  * scmsync URL: https://src.opensuse.org/simotek/terminology?trackingbranch=Leap-16.0#Leap-16.0

```

Checkout your fork to work on it `osc co home:simotek:branches:openSUSE:Leap:16.0/terminology`

  • add and remove files with `git add` and `git rm`
  • Update changes file with `osc vc`
  • Test builds with `osc build`
  • Commit your changes with `git add` / `git commit -v` etc
  • Once changes are done push with `git push`

```

  remote:
  remote: Create a new pull request for 'Leap-16.0':
  remote:   https://src.opensuse.org/simotek/terminology/pulls/new/Leap-16.0
  remote:

```

Follow the link from the above remote section to create a new pull request,

Set "Merge Into:" to `pool:Leap-16.0` and "Pull From" the branch you made your changes in the default is probably `[user]:Leap-16.0`