Jump to content

Github multipe minecraft versions in seperate Folders


JTK222

Recommended Posts

Heyho folks, 

 

that might sound like a stupid question but I have to ask because I messed up my whole repository as I tried to solve this by myself.

So I have set up 2 branches on my repository for 2 different Minecraft Versions, now the problem I would like to have booth branches on separate folders to have different Minecraft Versions without needing to change too much every time I switch the branch.

I have tried to clone the repository into 2 different Folders but that messed everything up.

Another solution I have is to add booth Forge jars to my Workspace, but that's problematic for exports.

 

I would appreciate any Help, thanks in Advance ^^

Link to comment
Share on other sites

Ok thanks, and sorry for the late response but I have 2 additional questions:

1. I assume the GUI variant of Github doesn't support this (at least it messed my repositories up as I tried id).

(P.s. And the GUI doesn't allow this by default sp I used the command line so I may have thought about that earlier :P)

2. What are the correct commands to do a commit and sync it to the repository?

Edited by JTK222
Link to comment
Share on other sites

Thanks for all that ^^

For now I prefer the graphical variant as on of my Teachers taught me to hate consoles xD (He didn't say that we should hate them but the way he taught us to work with them D:)

However, I am sure its usefully and will slowly try to learn the commands too. 

Link to comment
Share on other sites

If you want to get serious with any version control system that wasn't originally designed for Windows (which is to say, any decent version control system; Visual SourceSafe was notoriously a POS), you're going to have to bite the bullet and get at least a basic familiarity with the console commands. That being said, a good manual is essential for looking up what to do when. Bookmark https://git-scm.com/book/en/v2   if you are working with git/GitHub, and read it at least the first several chapters. You'll also find yourself referring to it a lot, which is why I told you to bookmark it.

 

p.s. I, too, tried using GitHub for Windows. Its lack of support for several key git options and commands helped me royally mess up my source trees. After recovering from that fiasco, I used the console from then on. These days I just develop on Linux, because I don't have to fight Windows for the privilege of using my choice of tools quite so much, but when I had to work on Windows, I installed Cygwin and used the console git for Cygwin. Now that Win10 has Ubuntu BASH shells, you might be able to install native git from the Ubuntu repo.

Edited by Sinhika
Link to comment
Share on other sites

git.png

  • Like 2

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.