My repo worked well until I moved it to another another account.All branches except master were lost during the migration. Earlier today, I find I am unable to create a new branch using git push origin new-branch
The command returns successful message. But in AWS console the branch is not just there. I can create a new branch in the console so I guess it is not about authorization.
What the command returns:
Counting objects: 56, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (28/28), done.
Writing objects: 100% (31/31), 12.38 KiB | 0 bytes/s, done.
Total 31 (delta 16), reused 0 (delta 0)
To https://user:pwd@git-codecommit.us-east-1.amazonaws.com/v1/repos/myrepo
* [new branch] new-branch -> new-branchh