Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Design and Architecture
  4. Compare two remote git repositories

Compare two remote git repositories

Scheduled Pinned Locked Moved Design and Architecture
tutorialcollaborationquestion
7 Posts 4 Posters 17 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • _ Offline
    _ Offline
    _Flaviu
    wrote on last edited by
    #1

    It is possible to compare two git remote repositories ? Those two repositries were clone, and I need to see if the source repository was updated. I didn't see any example of how to do that ... and I am thinking its not possible ?!

    Richard DeemingR J 2 Replies Last reply
    0
    • _ _Flaviu

      It is possible to compare two git remote repositories ? Those two repositries were clone, and I need to see if the source repository was updated. I didn't see any example of how to do that ... and I am thinking its not possible ?!

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #2

      Depends what tools you're using. For the command-line, there are several suggestions in this StackOverflow thread[^].


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      _ 1 Reply Last reply
      0
      • Richard DeemingR Richard Deeming

        Depends what tools you're using. For the command-line, there are several suggestions in this StackOverflow thread[^].


        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        _ Offline
        _ Offline
        _Flaviu
        wrote on last edited by
        #3

        Ok, I see, but I don't have access to the source repository ...

        Richard DeemingR 1 Reply Last reply
        0
        • _ _Flaviu

          Ok, I see, but I don't have access to the source repository ...

          Richard DeemingR Offline
          Richard DeemingR Offline
          Richard Deeming
          wrote on last edited by
          #4

          If you don't have access to it, then there's no way to know what's in it. You can't even perform a manual comparison.


          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

          "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

          I 1 Reply Last reply
          0
          • _ _Flaviu

            It is possible to compare two git remote repositories ? Those two repositries were clone, and I need to see if the source repository was updated. I didn't see any example of how to do that ... and I am thinking its not possible ?!

            J Offline
            J Offline
            jschell
            wrote on last edited by
            #5

            First you must have access to both of them. At least to download. You do not need permission to modify. Then if it was me I would download both to different directories on my local computer. Then I would get a tool that does file comparisons. Myself I use both WinMerge (free) and BeyondCompare (need to buy.)

            1 Reply Last reply
            0
            • Richard DeemingR Richard Deeming

              If you don't have access to it, then there's no way to know what's in it. You can't even perform a manual comparison.


              "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

              I Offline
              I Offline
              infantformula2
              wrote on last edited by
              #6

              Right click the branch you are targeting and select Compare with Current Branch. Alternatively, you can utilize the branch list on the Git Repository window to access the same command.

              Richard DeemingR 1 Reply Last reply
              0
              • I infantformula2

                Right click the branch you are targeting and select Compare with Current Branch. Alternatively, you can utilize the branch list on the Git Repository window to access the same command.

                Richard DeemingR Offline
                Richard DeemingR Offline
                Richard Deeming
                wrote on last edited by
                #7
                1. Why are you replying to me, and not the OP? 2) How do you think that's going to work when the OP has said they don't have access to one of the branches they want to compare? :doh:

                "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups