Jump to content

Push to github using git


Flaghacker

Recommended Posts

I have been following Pahimar's modding tutorials; and in one of his first ones he talks about git and github. He never actually explained how you have to push your code to github.

 

Git is installed on the command line.

 

I have cloned my github repository to my computer using git clone. Now I have so code in that folder, how do I put in on github?

 

This is my current mod folder:

MbfbJG2.png

I think only the src folder is relevant, right? So how do I only push that one to github?

Link to comment
Share on other sites

I'm trying to learn to use git after having used mercurial for ~2 years and I found this cheatsheet to help a bit.

Thanks, I'll be sure to check it out!

 

I'm using SourceTree now, is this correct?

https://github.com/flaghacker/LetsModReboot

The .gradle folder should not be in the Repo.

The gradle or .gradle folder(s)?

Nvm, I must be blind...

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.