In Android Studio, I make changes in the files, then - commit, push. Everything is OK, displayed on github. But in local changes only - Default (no files). How to display all commits in local changes?
- And what is displayed on the Log tab? - anber
- history of commits. but this is not what is needed. Before, in local changes I was able to observe commits, from which I could extract the code. And in a broad gull simply records. - Serhei Ivanov
- Comets from which to extract the code? What would that mean? - anber
- Sorian, I'm still new to this business) I then clicked on the rights record. Prince - get. And the current file is valid java opened for the history. But still. How do I see something in local changes? - Serhei Ivanov
|
1 answer
You need a Log tab. In this case, the list of files changed in this commit is displayed on the right.
When you right click on the file there are options "Show Diff" and "Show Diff with Local".
In addition, you can select any file or code snippet and then in the menu:
VCS - Git - Show history.
Looks like this is what you are looking for.
- not. Suppose I write code in a java file. yesterday I finished it and zakomitil. Today I redid the same file and also zakomitil. but suddenly I wanted to start a project with the version of the file that was yesterday. What is needed for this? - Serhei Ivanov
- On the Log tab, select the commit you need, and right-click -
Checkout revision. When tired, on the last commit and againCheckout revision. - anber - here now thank you very much) - Serhei Ivanov
- @FunnyBunny if helped - mark the answer as correct, there is a check mark to the left. - anber
|