-
-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request]: git log and show commit changes #472
Comments
I suggest you the Version History Diff plugin. I shows the history per file. Or do you really want to see the changes per commit? |
Thanks for suggest plugin. It have nice command "Version history diff: Show Diff view for active file". But with this you can only see changes in one selected file: (I see also command "Obsidian Git: Open file history on GitHub" which is similar - but of course on GiHub instead of locally). But if you don't know what files changes you can't use it (see my use case in "Motivation": add note on mobile, after some days and synchronization open Obsidian on desktop - you don't know which file to open). I found another workaround: Workaround 2Plugin Templater: #334 (comment). Result with command Result with new command
Now you have list of files from last commit. It nice, but I should extend it more (if it possible with Templater):
If these extension are possible with Templater it would be nice workaroud for the feature request. But still Obsidian Git "Changes" window is really nice and reusing it for commits changes seems like the best, natural solution. |
Available in new release. Use a command to show the history view. |
I like this new feature a lot, but it only shows history globally. I would like to be given option to see the History view of the current active file, if it's all possible. Hope it can be considered. Thanks in advance. |
Thx for the hint. I tried Version History Diff plugin before but it had a limitation with handling files renamed/moved. I tried it again with latest version and that limit is also addressed so it's perfect for my need now. Thanks again. |
I can go into Git and find the logs. That's simple. What I'd like to see is a record of the error messages or other notifications that come up from time to time. Those aren't always in the logs as far as I can tell. |
I would like to see possibility of of seeing what has been committed last time.
User story
Motivation
I have installed Obsidian Git and set:
And I have synchronization via Dropbox (for syncing desktop and mobile - Android app).
On mobile I disabled Obsidian git (due to restrictions/performance).
My workflow is:
It works like a charm.
But then I would like to see what I just committed - what files I added/edited on mobile - usually I need to tidy/read them on desktop.
Workaround
Of course you can open console and type:
git log
orgitk
to see what changes was made:But you have to manually open folder with vault, open console, type command.
To speed up this flow you can install two plugins:
In Shell Command add "gitk" command:
In Commander add icon to added command:
Now you can easily click one icon which opens gitk and you can see commits:
It works good.
But it would be nice if I can see Changes in Obsidian Git in the same way as current changes. With this feature you could quickly open notes from last commits just by clicking on icon "Open file" (like now from "Changes"):
The text was updated successfully, but these errors were encountered: