You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/developers/development_catching_up.markdown
+8-9Lines changed: 8 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -9,27 +9,26 @@ sharing: true
9
9
footer: true
10
10
---
11
11
12
-
If you're taking a while developing your feature and would like to catch up with what's in the current Home Assistant `dev` branch, you can use `git rebase` to do so. This will pull the latest Home Assistant changes locally, rewind your commits, bring in the latest changes from Home Assistant and then replay all of your commits on top.
12
+
If it's taking a while to develop your feature, and you want to catch up with what's in the current Home Assistant `dev` branch, you can use `git rebase`. This will pull the latest Home Assistant changes locally, rewind your commits, bring in the latest changes from Home Assistant, and replay all of your commits on top.
13
13
14
14
```bash
15
15
# Run this from your feature branch
16
16
$ git fetch upstream dev # to pull the latest changes into a local dev branch
17
17
$ git rebase upstream/dev # to put those changes into your feature branch before your changes
18
18
```
19
19
20
-
If rebase detects conflicts, you can repeat the following process until all changes have been resolved:
20
+
If rebase detects conflicts, repeat this process until all changes have been resolved:
21
21
22
-
1.`git status` will show you the file with the conflict.
23
-
2. Edit the file and resolving the lines between `<<<< | >>>>`
24
-
3. Add the modified file `git add <file>` or `git add .`
25
-
4. Continue rebase `git rebase --continue`
26
-
5. Repeat until you've resolved all conflicts.
22
+
1.`git status` shows you the file with the conflict; edit the file and resolve the lines between `<<<< | >>>>`
23
+
3. Add the modified file: `git add <file>` or `git add .`
24
+
4. Continue rebase: `git rebase --continue`
25
+
5. Repeat until you've resolved all conflicts
27
26
28
-
There is other workflows that is covered in detail in the [Github documentation](https://help.github.com/articles/fork-a-repo/). Add an additional `remote` after you clone your fork.
27
+
Other workflows are covered in detail in the [Github documentation](https://help.github.com/articles/fork-a-repo/). Add an additional `remote` after you clone your fork.
0 commit comments