Help with github

Discussion in 'Plugin Development' started by sgavster, Oct 10, 2013.

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

    sgavster

    Hi everyone,

    I've had a couple of plugins that I wanted to release the source, but my github&eclipse wont work! I've look at this thread,
    And I get this error:
    [​IMG]
    I get other errors too, just dont have screenshots.

    if this is the wrong place to put this, tell me. Sorry if it is
     
  2. Offline

    1Rogue

    Have you tried creating the repository on github first?
     
  3. Offline

    sgavster

  4. Offline

    Goblom

    Make sure you add/commit the files in the local repo before pushing

    Code:
    git add *
    git commit -m 'first commit'
     
  5. Offline

    sgavster

    Goblom I did that, same error :(
     
  6. Offline

    chasechocolate

    sgavster I think "nothing to push" means that nothing had been committed. Are you sure you have committed it?
     
  7. Offline

    sgavster

  8. So, whats git log telling you? Would be nice to get a copy of the output.
     
  9. Offline

    xTrollxDudex

    That's why I use IntelliJ IDEA now. Nevertheless, show the steps you took.
     
  10. Offline

    sgavster

    hapm Where do I find that?
    xTrollxDudex - I tried to use that, it confused the heck out of me :O
    I took the exact steps of the tutorial.. I'll take screenes and post on here or something
     
  11. sgavster at the same place where you typed git add and git commit
     
  12. Offline

    sgavster

  13. Offline

    lycano

    I strongly recommend using TortoiseGIT instead of any IDE implementation. From what i have seen those "plugins" are million miles away from what is possible.

    Also it is a good addition to the console version. I use console commands (msysgit) to push changes to my remote repo and TortoiseGit to commit changes to my local repository, checking history, ...

    The only thing i use Git plugin for is with IntelliJ when i want to check a previous state of a file from my repo. The history function is nice in IntelliJ but depending on how often you save its kinda hard to find stuff.

    Commiting never worked for me as most IDE including IntelliJ just push everything to the repo instead of the changes made which will make any commit log useless or the use their own local cache to determine changes which are most likely not synced with your git repo.

    If anyone has different experience with this i would like to hear his optionion.

    Regarding eclipse and git if you still want to use it this might help you http://eclipse.github.com/
     
  14. Offline

    sgavster

    lycano Could you send me links to those things? Or a tutorial on how to set it up/use it?
     
  15. Offline

    lycano

  16. Offline

    1Rogue


    Although I must throw my hand in for NetBeans' pre-installed git feature, which gets done everything it has to.
     
  17. Offline

    lycano

    1Rogue well we are free people with free minds =) Maybe its just me but whenever i commited any changes it messed up my repo completely. Since then i stayed with TortoiseGit and was never in such pain again.
     
  18. Offline

    1Rogue


    That does happen between using different managers I find.
     
  19. Offline

    sgavster

    1Rogue I'd love to use netbeans but it confused the heck outta me!
    But.. bump.. still not working :S
     
  20. Offline

    Minnymin3

    Heres what I do. I use the GUI Git client and clone the repository into a folder then setup the source folder as a linked source with Eclipse. Works better and I can see what changes I have made a lot easier. Just the way I do it
     
Thread Status:
Not open for further replies.

Share This Page