Git in idea is pulled from the remote wrong branch. How to restore it


The reflog command can view your history of changes:

git reflog 

In fact, just one of the following: original branch: my_ branch
my_ Branch represents the remote branch you want to fallback to, the latest submitted

git reset --hard origin/my_branch

Recommended Today

Beautify your code VB (VBS) code formatting implementation code

However, does have many new functions that VB6 does not have. The automatic typesetting of code is one, which is the function we want to realize today – VB code formatting.Let’s look at the effect: Before formatting: Copy codeThe code is as follows: For i = 0 To WebBrowser1.Document.All.length – 1 If WebBrowser1.Document.All(i).tagName = […]