How do I add my source to Github?

Discussion in 'Plugin Development' started by x86cam, Mar 19, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    x86cam

    I have done everything that I needed to do to create a repository, and uploaded a README, but how do I upload my whole eclipse source?
     
  2. Offline

    Sagacious_Zed Bukkit Docs

    By using Git. http://git-scm.com/documentation

    Alternately you can get the Git integration plugin eGit, then read their documentation on how to push something to a remote repository.
     
  3. Offline

    x86cam

    Um how do I upload them, I already have the GUI and the bash.

    Nevermind. I figured out.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  4. Offline

    edocsyl

  5. Offline

    TutorialMakerHD

    i have the same problem i have a README but how can i push the source can you explain me that?
     
  6. Offline

    Sagacious_Zed Bukkit Docs

    you use a git client to push to the public repository. You will have to be more specific about the problem, other than I don' know how to.
     
  7. Offline

    sd5

    You create your repository at github.
    After that you go to git bash and go to your source folder (e.g. "C:/Users/NAME/eclipse/myPlugin") and type in:
    Code:
    git add .
    git commit -m "First commit."
    to add everything and for the first commit.
    To link your local repository with the github repository do:
    Code:
    git remote add origin [email protected]:NAME/REPOSITORY.git
    Finally type in:
    Code:
    git push origin master
    and enter your password...
     
Thread Status:
Not open for further replies.

Share This Page