Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
/VM/station wiki
Search
Search
Log in
Personal tools
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Getting Your Pull Accepted
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== How to Deal with Merge Conflicts == Most of the time, Git is pretty smart about merging code files. However, if one PR is merged before yours that edits the same file, your PR will be in a state of conflict and will not be able to be automatically merged via GREEN BUTTON. Because there are more contributors than there are maintainers, most of the time resolving these conflicts falls to the maker of the PR. An easy way to fix merge conflicts is to make a new branch (you should especially do this if your PR is just a small one): # Switch to your master branch: Right-click your working folder, go '''TortoiseGit''' --> '''Git Switch/Checkout...''' # Look at the '''Branch'''-list and select '''master''' # Close the window that pops up (assuming it changed successfully) # Right-click your working folder, go '''TortoiseGit''' --> '''Git Pull...''' # On the top, from the '''Remote'''-list, select '''upstream''' and from the '''Remote Branch''' -list select '''master'''. # Close the window that pops up (assuming it updated successfully) # Make the same exact changes to the code which you have on your PR # Commit and MAKE A NEW BRANCH # Push your new branch to your PR branch, and tick '''Force: unknown changes''' If it's a map file that's conflicted, remember to start the [[Map Merger]] before you pull from upstream. {{Contribution guides}} [[Category:Game Resources]] [[Category:Guides]]
Summary:
Please note that all contributions to /VM/station wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
/VM/station wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width