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. Other Discussions
  3. Workspaces Forum
  4. Commits to ::Git after changing email address...

Commits to ::Git after changing email address...

Scheduled Pinned Locked Moved Workspaces Forum
comcollaboration
11 Posts 2 Posters 46 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.
  • Kornfeld Eliyahu PeterK Offline
    Kornfeld Eliyahu PeterK Offline
    Kornfeld Eliyahu Peter
    wrote on last edited by
    #1

    I just changed my email address about two weeks ago. Since then my commits lost connection with my account (also commits before the change, but commits after the change too). It also seems that I can commit with both old and new email... See here: https://workspaces.codeproject.com/kornfeldeliyahupeter/codeproject.com/wysiwyg-editor/commits/master/1[^] (I changed email somewhere before the 11th of June)

    I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

    "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

    K 1 Reply Last reply
    0
    • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

      I just changed my email address about two weeks ago. Since then my commits lost connection with my account (also commits before the change, but commits after the change too). It also seems that I can commit with both old and new email... See here: https://workspaces.codeproject.com/kornfeldeliyahupeter/codeproject.com/wysiwyg-editor/commits/master/1[^] (I changed email somewhere before the 11th of June)

      I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

      K Offline
      K Offline
      Kamil Burzynski
      wrote on last edited by
      #2

      Well, that is how git works, it stores separate email and name with each commit. We do not filter that anyhow, and it would be a bad idea to do so. The only thing we can do is to match the committers emails to current accounts, and display user information, if there is a match.

      Kornfeld Eliyahu PeterK 1 Reply Last reply
      0
      • K Kamil Burzynski

        Well, that is how git works, it stores separate email and name with each commit. We do not filter that anyhow, and it would be a bad idea to do so. The only thing we can do is to match the committers emails to current accounts, and display user information, if there is a match.

        Kornfeld Eliyahu PeterK Offline
        Kornfeld Eliyahu PeterK Offline
        Kornfeld Eliyahu Peter
        wrote on last edited by
        #3

        OK...fair enough...for the first problem. But! just now I pushed files to here https://workspaces.codeproject.com/kornfeldeliyahupeter/pashta_cpp[^]. ::Git let me push files to this private ::Workspace using my old email as username, how that can be?

        I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

        "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

        K 1 Reply Last reply
        0
        • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

          OK...fair enough...for the first problem. But! just now I pushed files to here https://workspaces.codeproject.com/kornfeldeliyahupeter/pashta_cpp[^]. ::Git let me push files to this private ::Workspace using my old email as username, how that can be?

          I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

          K Offline
          K Offline
          Kamil Burzynski
          wrote on last edited by
          #4

          You mean when it is asking for username & password, you can give old email + your password and still get authorized?

          Kornfeld Eliyahu PeterK 1 Reply Last reply
          0
          • K Kamil Burzynski

            You mean when it is asking for username & password, you can give old email + your password and still get authorized?

            Kornfeld Eliyahu PeterK Offline
            Kornfeld Eliyahu PeterK Offline
            Kornfeld Eliyahu Peter
            wrote on last edited by
            #5

            Almost...I'm using VS and it stores for me the credentials. As now it has username peter at rashim dot co dot il (old email) and the same as email address. I would except that ::Git for private ::Workspace would refuse to push with that credentials as it not anymore mach my CP account...

            I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

            "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

            K 2 Replies Last reply
            0
            • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

              Almost...I'm using VS and it stores for me the credentials. As now it has username peter at rashim dot co dot il (old email) and the same as email address. I would except that ::Git for private ::Workspace would refuse to push with that credentials as it not anymore mach my CP account...

              I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

              K Offline
              K Offline
              Kamil Burzynski
              wrote on last edited by
              #6

              Actually, the moment you changed email the old email should stop authorizing you anymore (but you still should be able to push commits done by old email, if the push is authorized by new email). I'll check that with Chris, as he is maintaining the authorization part.

              Kornfeld Eliyahu PeterK 1 Reply Last reply
              0
              • K Kamil Burzynski

                Actually, the moment you changed email the old email should stop authorizing you anymore (but you still should be able to push commits done by old email, if the push is authorized by new email). I'll check that with Chris, as he is maintaining the authorization part.

                Kornfeld Eliyahu PeterK Offline
                Kornfeld Eliyahu PeterK Offline
                Kornfeld Eliyahu Peter
                wrote on last edited by
                #7

                Now I did a test - changed my username and email to something different (not exits in fact) and pushed changes - it went smoothly and now I can see that email (david) on the commit list... Seems to me not right!

                I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

                "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                1 Reply Last reply
                0
                • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                  Almost...I'm using VS and it stores for me the credentials. As now it has username peter at rashim dot co dot il (old email) and the same as email address. I would except that ::Git for private ::Workspace would refuse to push with that credentials as it not anymore mach my CP account...

                  I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

                  K Offline
                  K Offline
                  Kamil Burzynski
                  wrote on last edited by
                  #8

                  Are you sure that you are authorizing via https and using the old email? We cannot reproduce this situation, the moment user changes email he cannot push anymore. However, if you are using SSH, then you are authorized by SSH key and your email is not used for authorization anymore. Similarly, you may authorize HTTPS by your username (KornfeldEliyahuPeter) and in such scenario your old email is not used for authorization, either. Can you confirm which case out of the 3 above you use?

                  Kornfeld Eliyahu PeterK 1 Reply Last reply
                  0
                  • K Kamil Burzynski

                    Are you sure that you are authorizing via https and using the old email? We cannot reproduce this situation, the moment user changes email he cannot push anymore. However, if you are using SSH, then you are authorized by SSH key and your email is not used for authorization anymore. Similarly, you may authorize HTTPS by your username (KornfeldEliyahuPeter) and in such scenario your old email is not used for authorization, either. Can you confirm which case out of the 3 above you use?

                    Kornfeld Eliyahu PeterK Offline
                    Kornfeld Eliyahu PeterK Offline
                    Kornfeld Eliyahu Peter
                    wrote on last edited by
                    #9

                    OK. It seems that VS fooled me and I fooled you in turn... VS does not use the username/email (two separate fields) that displayed in the Git settings page, but has a hidden storage somewhere... So even I'm changing username VS still authenticates using the stored values and will ask for credentials only if it fails... Username used as email and email not used at all... What a fun to use VS :mad: Sorry to being fool and more sorry to foul you...

                    I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

                    "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                    K 1 Reply Last reply
                    0
                    • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                      OK. It seems that VS fooled me and I fooled you in turn... VS does not use the username/email (two separate fields) that displayed in the Git settings page, but has a hidden storage somewhere... So even I'm changing username VS still authenticates using the stored values and will ask for credentials only if it fails... Username used as email and email not used at all... What a fun to use VS :mad: Sorry to being fool and more sorry to foul you...

                      I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

                      K Offline
                      K Offline
                      Kamil Burzynski
                      wrote on last edited by
                      #10

                      This is what I suspected, thanks for clarification. You've just spared me some grepping through the logs to prove the same point ;) Btw. git has the credential helper which does cache credentials just like this. Maybe VS is just using it.

                      Kornfeld Eliyahu PeterK 1 Reply Last reply
                      0
                      • K Kamil Burzynski

                        This is what I suspected, thanks for clarification. You've just spared me some grepping through the logs to prove the same point ;) Btw. git has the credential helper which does cache credentials just like this. Maybe VS is just using it.

                        Kornfeld Eliyahu PeterK Offline
                        Kornfeld Eliyahu PeterK Offline
                        Kornfeld Eliyahu Peter
                        wrote on last edited by
                        #11

                        I will check. The sad that no documentation about the Git extension from Microsoft (not news here I think), so I have to dig into. I found all this out by going to git command line and sniffing with Fiddler...

                        I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

                        "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                        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