Replace all references to 1.11.x to 1.12.x

Madsthunder committed 2018-01-27 16:34:28 -05:00
1 parent fb5f4f228e
commit 027eac4b16
1 file changed
+2 -2
+2 -2
@@ -17,8 +17,8 @@ Prerequisites: Eclipse {or IntelliJ} (3.7 or better is probably good), Git (any
- Indent your code properly, and follow the conventions (take a look at other classes and read the code before editing). Space instead of tabs, open braces on a new line, etc. [ONLY IF IT IS A NEW CLASS NOT IF IT IS A PATCH TO A MINECRAFT CLASS](https://github.com/MinecraftForge/MinecraftForge/wiki/If-you-want-to-contribute-to-Forge#conventions-for-coding-patches-for-a-minecraft-class-javapatch). [Here](https://github.com/ForgeEssentials/ForgeEssentials/blob/develop/misc/eclipseformatter.xml)'s the eclipse formatter if you want it.
- To update your repo to latest code from the official repository:
1. If it's the first time, add a remote for the official repo (`git remote add upstream https://github.com/MinecraftForge/MinecraftForge`)
2. Get the updates (`git fetch upstream`), and make sure you're on master (`git checkout 1.11.x`)
3. If you don't want to rewrite your history (e.g. others have cloned your repository), do a merge (`git merge upstream/1.11.x`). **For keeping pull requests as clean as possible, do a rebase** (`git rebase upstream/1.11.x`). Git may reject your push the first time after each rebase and you'll have to do `git push -f origin master` (or `git push origin 1.11.x --force`).
2. Get the updates (`git fetch upstream`), and make sure you're on master (`git checkout 1.12.x`)
3. If you don't want to rewrite your history (e.g. others have cloned your repository), do a merge (`git merge upstream/1.12.x`). **For keeping pull requests as clean as possible, do a rebase** (`git rebase upstream/1.12.x`). Git may reject your push the first time after each rebase and you'll have to do `git push -f origin master` (or `git push origin 1.12.x --force`).
### Conventions for coding patches for a Minecraft-class (`.java.patch`)
This section applies to the `ClassName.java.patch` section of your contributions.