• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

very much confused with git.

 
Ranch Hand
Posts: 1143
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
my target is to contribute to open source projects, but i am still confused with the things, especially with git.
messing up with git,svn,git-scm.
one site is https://github.com/, where i have created one account, and as i know, it is a central repository where i can keep my source code.
second is i have downloaded git for windows, i have installed that and tried to clone one repository for jenkins but for last 3 hours it showing me the same screen says, Working..... Please Wait....
i had a lot of search on google and found a lot of tutorials and all, but each one is different, i am still confused and completely messed up.
i am very much interested to contribute in open source, but don't know why i am not getting it.
even each night i come to my office, sit in front of my computer, do some google search for this, apply that and again get confused.


 
author & internet detective
Posts: 42073
932
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There could be a few reasons:
  • You aren't running the right clone command. Can you show the command you are running here?
  • You have a firewall preventing git access. This is unlikely as even the NYC Board of Education doesn't block git and they block a lot.
  • The project you are trying to clone is too large and your network connection can't handle it.
  •  
    Punit Jain
    Ranch Hand
    Posts: 1143
    5
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    yes actually when i search on google, i found clone command to get the clone of the repository.
    but where do i type that command, after installation i got gui, and i am creating clone using that gui.
    here is the screenshot:
    gitimg.png
    [Thumbnail for gitimg.png]
     
    author
    Posts: 5856
    7
    Android Eclipse IDE Ubuntu
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Exactly where did you install git from? I have never had git display a gui to me. Also, most repositories I have cloned haven't taken very long. Did you try watching network activity to see what the download speed is?
     
    Sheriff
    Posts: 10445
    227
    IntelliJ IDE Ubuntu
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    By the way, for those of you who are new to Git (like I was till a few months back), I highly recommend this free online book on Git http://git-scm.com/book. It has very good explanation of how git works and helps you get started very quickly.
     
    Punit Jain
    Ranch Hand
    Posts: 1143
    5
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    Peter Johnson wrote:Exactly where did you install git from? I have never had git display a gui to me. Also, most repositories I have cloned haven't taken very long. Did you try watching network activity to see what the download speed is?




    i have installed git from here only:
    http://git-scm.com
    after installation, i got one git bash and one git gui, git gui is that screen.
    and yes i got that jenkins repository, it's about 96 mb's.


    we need to give the source location, (ie: the url), and the target location (any location in our hard drive), in those text boxes.


    it creates one directory structure in that folder, consist the source code.
    how do i make it as a eclipse project so that i would be able to import that and start working?
    also is there any documentation to see the classes and how can i use that, so that would be able to start contributing.
     
    Punit Jain
    Ranch Hand
    Posts: 1143
    5
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    Jaikiran Pai wrote:By the way, for those of you who are new to Git (like I was till a few months back), I highly recommend this free online book on Git http://git-scm.com/book. It has very good explanation of how git works and helps you get started very quickly.



    Thanks, yes it seems good.
    and seems that i make myself confused by reading different-2 blogs or articles.
     
    Punit Jain
    Ranch Hand
    Posts: 1143
    5
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    so far i got to know, how to use git with eclipse, using EGit.
    here is few good tutorials:
    http://www.youtube.com/watch?v=U1kXlahkwd4&feature=related
    http://www.vogella.com/articles/EGit/article.html#team_mergeconflicts
    tart
    but still i don't know, how to create eclipse project of any downloaded repository from git and start working on it.
     
    You will always be treated with dignity. Now, strip naked, get on the probulator and hold this tiny ad:
    Smokeless wood heat with a rocket mass heater
    https://woodheat.net
    reply
      Bookmark Topic Watch Topic
    • New Topic