Update Using-Git.md (#7159)

This commit is contained in:
Neil Lathwood
2017-08-15 15:59:58 +01:00
committed by GitHub
parent 7b97e0e761
commit 1f98bf46a5

View File

@ -70,9 +70,7 @@ Now, create a new branch to do you work on. It's important that you do this as y
one feature at a time and submit them as pull requests individually. If you did all your work in the master branch then
it gets a bit messy!
Ideally you want to create your new branch name based of the issue number. So firstly create an issue on
[GitHub](https://github.com/librenms/librenms/issues) so that others are aware of the work going on. If the issue number
you created is 123 then use issue-123 as the branch name.
You need to give you branch a name. If an issue is open (or closed on GitHub) then you can use that, in this example if the issue number is 123 then we will use issue-123. If a post exists on the community forum then you can use the post id like community-123. You're also welcome to use any arbitrary name for your branch but try and make it relevant to what the branch is.
```bash
git checkout -b issue-123