remove info on squashing (github has squash functionality)

mezz committed 2016-12-01 20:24:22 -08:00
1 parent 292ebf8e78
commit 786484a29c
1 file changed
+1 -4
+1 -4
@@ -112,7 +112,4 @@ An even better way is to add a function in `net.minecraftforge.event.EventFactor
#### Before `gradle genPatches` & Committing
Before committing, check if your IDE hasn't put in extra spaces/line breaks in the import section of your java-file.
Eclipse tend to reorganize the imports to improve readability and will cause extra spaces/line breaks to appear in the `.java.patch`-files. Review your patches (`ClassName.java.patch`) and the diff-states of your uncommitted changes on these patches for extra `++`'s or `+ +`'s. This means an extra space/line break has been added.
Keep in mind that the original `.java.patch`-file never add extra spaces/break lines in between imports.
#### How to squash commits
When Lex asks you to squash, you can check out the repo in GitHub client, then open git shell from the client. run `git rebase -i HEAD~<The number of commits to be squashed>` and the commit squashing will be done. To push those changes, run `git push -f`, then you've finished squashing commits.
Keep in mind that the original `.java.patch`-file never add extra spaces/break lines in between imports.