Relative Content

Tag Archive for gitgithubversion-control

git switch -c keeping changes in both branches [duplicate]

This question already has answers here: git checkout branch after git add, seems not update index and working area (3 answers) Modified files in a git branch are spilling over into another branch (6 answers) Closed last month. I have made some changes in my master branch. I want to switch those changes to a […]

github repo not found :

git remote add origin https://github.com/aksharma27/myZoom.git
git add .
git commit -m "comment"
git push -u origin master
https://github.com/aksharma27/myZoom.git

Github: Recovering a commit that has been lost after pull request

So I merged my branch revamp/studio-creator inside main. It merged fine, however I realised that main branch didn’t have the most up to data code, there were parts that I would want from studio-creator branch but those were not merged over to main. I didn’t give it much thought and just deleted my local instance and cloned the repo again (This might be disastrous but I thought since my changes are already pushed, there’s no risk). I cloned the repo and I saw still the commit made yesterday (12th June is missing). Github commit history of all branches is only showing latest commit as one done on 29th May. Since main branch was old anyway I renamed it to main2 and renamed by studio-creator branch as main. Then I deleted main2. However now I am left with a scenario where the latest commit is nowhere to be found. It’s not in the commit list (which is weird since the PR was merged yesterday and the commit history is reflecting work of past 2 weeks, don’t know why is that!).
Can someone please help me with this scenario? The commit we lost had work of past 2 weeks and it is absolutely important to get this work back.
Already logged a compalin to Github support but their response times are very bad so that’s why posting here, hoping someone would be able to help!

Failed to resume your working changes from the cloud

Please I get the error “Failed to resume your working changes from the cloud.” when I do launch my applcation on Vs code. The github source control is also empty it just show the blue loading icon and after the icon disappears i get the error. The source control does not track the new changes in the app and some codes are missing. The files are there but there is not code.