You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously I was coping pasting my codes in GitHub and then saving that. I committed 90 files by this same process. But when I commit a new file by git command in terminal then it was showing an error but I forcefully pushed that. After that my previous commits disappears and it is now showing no remaining existence of that previous commits and the git pull is also not working here.
If you have any Idea to recover that previous commits then help me to restore my previous commits.
`` `git stash
git checkout some-branch
git stash pop
``git log --oneline -n1 # this will give you the SHA
git checkout some-branch
git merge ${commit-sha}`
-> not working
The text was updated successfully, but these errors were encountered:
Previously I was coping pasting my codes in GitHub and then saving that. I committed 90 files by this same process. But when I commit a new file by git command in terminal then it was showing an error but I forcefully pushed that. After that my previous commits disappears and it is now showing no remaining existence of that previous commits and the git pull is also not working here.
If you have any Idea to recover that previous commits then help me to restore my previous commits.
`` `git stash
git checkout some-branch
git stash pop
``git log --oneline -n1 # this will give you the SHA
git checkout some-branch
git merge ${commit-sha}`
-> not working
The text was updated successfully, but these errors were encountered: