Jump to content

[CLOSED] Github


SHsuperCM

Recommended Posts

Sry for such stupid question..

 

Soo.. I know how to mod(ish),

But now I want to start working on a bigger mod..

I got the idea, I know what I want and expect from the mod,

And I'm ready to start working on it..

But, This time I want to use GitHub to save my code safely..

I never used it and from what I understand I cannot make it private?

I dont know where to start or how, How to save/sync and that stuff..

If someone can give me an guide that shows how to set it up and work with it, It'd be lovely!

Doing stuff n' things

Link to comment
Share on other sites

Well do you want to be able to upload files to github with a click of a button or go through the upload where you can only upload 100 files at a time(witch is a pain btw) I could show you but it would be hard through The fourms Got skype or anything?

Are You Feeling it now Mr.Krabs?

 

GitHub

https://github.com/nuclearelectricity/Nuclear-Electricity

Link to comment
Share on other sites

Well do you want to be able to upload files to github with a click of a button or go through the upload where you can only upload 100 files at a time(witch is a pain btw) I could show you but it would be hard through The fourms Got skype or anything?

Yeah, That's what I meant.. I've seen MrCrayfish's streams and he just clicks something to upload a file he changes...

Altough, I'd like to know where you learned it from, Tutorial? Post?

Doing stuff n' things

Link to comment
Share on other sites

I would recommend you use a graphical user interface for Git, to see what you are doing. Git is very powerful, but sometimes hard to understand what you are doing.

As NoVa linked, there is SourceTreeApp, but I also know of GitKraken & SmartGit. Of course, there are several others out there as well. See which you find the best.

 

You can also use GitLab.com to gain your own "private" project, which can be easily exported to GitHub if wanted (can also import projects from GitHub to GitLab).

Also previously known as eAndPi.

"Pi, is there a station coming up where we can board your train of thought?" -Kronnn

Published Mods: Underworld

Handy links: Vic_'s Forge events Own WIP Tutorials.

Link to comment
Share on other sites

I disagree with others in this thread. One should  not use any kinds of wrapers around GIT while they don't even understand it. I find the command-line version to be easier to understand as it gives you more feedback instead of obscuring the actual process of using git behind a pretty GUI.

 

I know there is a steep learning curve, but the most basic git commands one needs are not that hard. Anyway, here is a tutorial.

  • Like 1

If my post helped you, please press that "Thank You"-button to show your appreciation.

 

Also if you don't know Java, I would suggest you read the official tutorials by Oracle to get an idea of how to do this. Thanks, and good modding!

 

Also if you haven't, set up a Git repo for your mod not only for convinience but also to make it easier to help you.

Link to comment
Share on other sites

Yeah, except that the documentation for git's command line is ass.

It was written by people to say "look at how smart I am, can YOU understand this?"

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

*sigh* I've decided to not use gits because now after trying to use all sorts of UIs I find it wierd and uneccesery.....

I think I'm going to to the backups myself and maybe write something to do this easly and with descriptions....

 

git is wierd... *closed*

Doing stuff n' things

Link to comment
Share on other sites

Yeah, except that the documentation for git's command line is ass.

It was written by people to say "look at how smart I am, can YOU understand this?"

 

But when one starts with git all they really need is "commit", "push", "pull", "checkout", and "add". And using those is easy.

 

@OP, please don't give up. While git may look daunting, getting to know it is so worth it. Also, if you want to close a thread, lock it.

If my post helped you, please press that "Thank You"-button to show your appreciation.

 

Also if you don't know Java, I would suggest you read the official tutorials by Oracle to get an idea of how to do this. Thanks, and good modding!

 

Also if you haven't, set up a Git repo for your mod not only for convinience but also to make it easier to help you.

Link to comment
Share on other sites

@OP, please don't give up. While git may look daunting, getting to know it is so worth it. Also, if you want to close a thread, lock it.

It really isnt for what you have to do for it....

Really I dont find a use for it.. i wanted backup which there are simpler stuff that do that....

 

*Locked*

Doing stuff n' things

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • What MC version? What's the IP? Are any mods needed to be able to join?
    • Thank you for your answer ! Unfortunatly i have the same problem when i use setPos() public static int movingfunction(CommandContext<CommandSourceStack> context){ CommandSourceStack source = context.getSource(); if (!(source.getEntity() instanceof ServerPlayer)) { return 0; } ServerPlayer player = (ServerPlayer ) source.getEntity(); double moveSpeed = 0.5; for (int i =0; i<10000;i++) { LOGGER.info("running for the {} time", i); double x = player.getX() + player.getViewVector(1.0f).x * moveSpeed; double y = player.getY(); double z = player.getZ() + player.getViewVector(1.0f).z * moveSpeed ; Vec3 movementVec = new Vec3(x, y, z); LOGGER.info("x ={} y ={} z ={}", x, y, z); player.setPos( movementVec); } return 1; } With the logs i can see that x and z are increasing but once again my player is not moving. is there a function to use to sync the server and the client ? I also tried to use LocalPlayer instead of ServerPlayer but my code would stop when i got the object. Also i will change a bit the main topic but is there a way to similate key press ? i found KeyBinding.setKeyBindState on others post but it look like there is no more KeyBinding in 1.20   I found this code : KeyMapping.click(Minecraft.getInstance().options.keyUp.getKey()); But it doesn't seems to work   And i found this one : Minecraft.getInstance().options.keyUp.setDown(true); wich works but doesn't exactly do what i want , it doesn't release the key so for exemple i can't make him run. Minecraft.getInstance().options.keyUp.setDown(true); Minecraft.getInstance().options.keyUp.setDown(false); Minecraft.getInstance().options.keyUp.setDown(true); doesn't make him run
    • Add crash-reports with sites like https://paste.ee/ Maybe an issue with blur, essentials or cumulus_menus
    • Add the crash-report or latest.log (logs-folder) with sites like https://paste.ee/ and paste the link to it here  
  • Topics

×
×
  • Create New...

Important Information

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