@@ -18,11 +18,13 @@ This repository (https://github.com/nginx/documentation) is where we work by def
18
18
The process is as follows:
19
19
20
20
- Add the closed repository as a remote
21
+ - The closed repository is also known as ` internal `
21
22
- Create a remote branch with the prefix ` internal/ ` in the closed repository
22
23
- Open a pull request in the closed repository to get previews and request feedback
23
24
- Once all stakeholders are happy with changes, close the pull request in the closed repository
24
25
- Merge the changes from the remote (Closed) repository branch with a new branch in the open repository
25
26
- Open a new pull request in the open repository, where it can be merged
27
+ - You do not have to get approvals a second time
26
28
27
29
You can get the URL through our internal communication channels: it will be represented in the following steps as ` <closed-URL> ` .
28
30
36
38
git fetch --all
37
39
```
38
40
41
+ You can verfiy access to the closed repository in your ` .git/config ` file. Look for the code block that corresponds to:
42
+
43
+ ```
44
+ [remote "internal"]
45
+ ```
46
+
39
47
Check out the remote ` main ` branch, and use it to create a feature branch. ** Ensure that you prefix all branch names with ` internal/ ` **
40
48
41
49
``` shell
@@ -51,7 +59,7 @@ git commit
51
59
git push internal
52
60
```
53
61
54
- Open a pull request when you are ready to receive feedback from stakeholders.
62
+ Open a pull request when you are ready to receive feedback from stakeholders. You'll see the pull request in the internal repository.
55
63
56
64
After any iterative work, close the pull request. Since the closed repository is a mirror of the open one, we do not merge changes to it.
57
65
@@ -64,4 +72,9 @@ git merge internal/internal/feature
64
72
git push origin
65
73
```
66
74
75
+ This allows you to open a _ new_ pull request in the open repository. To verify that pull request reflects the changes made in the closed
76
+ repository, check the commit messages.
77
+
78
+ If you are a maintainer of https://github.com/nginx/documentation , you can merge the changes without additional approvals.
79
+
67
80
Once the content changes have been merged in the open repository, they will synchronize back to the closed repository.
0 commit comments