Jump to content

Need some help with GitHub.


TheRealMcrafter

Recommended Posts

Hey, how can I put my existing mod source into a new repository on GitHub? I cant find a tutorial to do this in Eclipse. I already have a GitHub account.

First, create the repository. Then, clone it, I recommend using Source Tree. Then, set up a new forge workspace in the folder you cloned the repository to. Next, you should probably create a .gitignore file, similar to https://bitbucket.org/The_Fireplace/fireplace-core/src/56815ff806fab68257cbcb79cd91ee3b348aa325/.gitignore?at=master . Next, move the contents of the src folder in your old workspace to this new one.

If I helped please press the Thank You button.

 

Check out my mods at http://www.curse.com/users/The_Fireplace/projects

Link to comment
Share on other sites

Not working, I cant publish to the server

Once you have that done, to push to the server, you first need to commit your changes, then, push them to the server. In source tree, when you push to the server for the first time, you will have to check the box next to the word master.

If I helped please press the Thank You button.

 

Check out my mods at http://www.curse.com/users/The_Fireplace/projects

Link to comment
Share on other sites

I have a tutorial on this: http://jabelarminecraft.blogspot.com/p/minecraft-forge-publishing-to-github.html

 

This tutorial uses Sourcetree, which I recommend (like the others posting above). It is a graphical interface to git so you don't have to do command line stuff. Some people like to say "real programmers use command line" but honestly why not use a good graphical interface when it is available -- you can see graphical representation of your branching and everything.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

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.



×
×
  • Create New...

Important Information

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