Hi, team, I'm trying to set up ghstack for pytorch, and encountered a problem. I document my solution here, in case anyone meet the same problem again.
In conclusion, the problem comes from my side. However, I suggest adding some documentation or code check to remind users that they should use git-ssh based remote url.
Hi, team, I'm trying to set up ghstack for pytorch, and encountered a problem. I document my solution here, in case anyone meet the same problem again.
My github remote is cloned via https:
After I tried to set up github keys and use ghstack, the command still asks me for username and password.
The problem gets resolved after I change the remote to git-ssh based:
Some related discussion from github: https://github.com/orgs/community/discussions/22394 .
In conclusion, the problem comes from my side. However, I suggest adding some documentation or code check to remind users that they should use git-ssh based remote url.