Meaningless Drivel is fun!*
The moose likes IDEs, Version Control and other tools and the fly likes very much confused with git. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "very much confused with git." Watch "very much confused with git." New topic
Author

very much confused with git.

Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 998
    
    2
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.


Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30361
    
150

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.


  • [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
    Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
    Punit Jain
    Ranch Hand

    Joined: Aug 20, 2011
    Posts: 998
        
        2
    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:


    [Thumbnail for gitimg.png]

    Peter Johnson
    author
    Bartender

    Joined: May 14, 2008
    Posts: 5823
        
        7

    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?


    JBoss In Action
    Jaikiran Pai
    Marshal

    Joined: Jul 20, 2005
    Posts: 10067
        
    163

    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.

    [My Blog] [JavaRanch Journal]
    Punit Jain
    Ranch Hand

    Joined: Aug 20, 2011
    Posts: 998
        
        2
    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

    Joined: Aug 20, 2011
    Posts: 998
        
        2
    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

    Joined: Aug 20, 2011
    Posts: 998
        
        2
    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.
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: very much confused with git.