-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
Local git only? without github? #836
Comments
Yeah you can use the plugin without any remote just fine. |
I'm unable to find the instructions to configure it locally. I've installed git and skipped the installation of GitHub desktop. Please point me to the instructions. Any guidance is highly appreciated. |
There is currently no specific instruction, because there is not really much to setup. If you don't have a git repository yet you can create one via the "Initialize a new repo" command. If you already have one, everything should just work. |
I appreciate your prompt responses, time, and patience, sir. Thank you! I've got Git installed, the Obsidian plugin and the Software. I'm on this screen (Opened Git GUI) ; and navigated to my Obsidian directory as well But I'm unable to find the Initialize a new repo option A little bit of online searching led me to this; Hope I'm on the correct path!! https://worldwincoder.com/blog/how-to-set-up-git-for-an-existing-project-a-step-by-step-guide/ |
You were right!! There's not much, Clicked on Stage Changed and the plugin seems to have picked it up!! I'm assuming the default settings on the plugin will trigger the automatic versioning? |
I'm unsure if the plugin is working as intended. The plugin seems to be talking to git but git the application is asking for an identity. I'm assuming I enter my credentials like the GitHub one suggested below but is there a way to set a local identity that is available on the local machine I do intend on searching for an answer but your experience is appreciated if you could point me a correct answer https://superuser.com/questions/1166219/how-do-i-set-my-local-git-identity is what I was going to say but I seem to have found a solution Opening the terminal to the location of the repository (In my case F:\Obsidian) F:\Obsidian>git config user.email "[email protected]" Requesting you to make the appropriate changes to the documentation (please add to this given your experience in the field, also please let me know if doing things like this opens me up to vulnerabilities, etc...) as this can be confusing to Novice beginners (Some of us Windows users 😹) |
Found this page, Sharing config file information
|
I expect users to be familiar with git, as git is a more advanced software. But I will think about adding the author info setup to the documentation. |
Apologies, The below screenshot, I got as soon as I enabled the extension on Obsidian and clicked on Stage change as on #836 (comment) I'm assuming clicking on stage change connected git and the git plugin But then a local identity was created as it was required as on #836 (comment) Then when I clicked on commit within Obsidian tries to talk to git, but something isn't configured right, so the error message I get on Obsidian is as below (1st one below is the one on the center It's probably asking me to create an upstream branch. and the second one with message: no upstream branch is set
I did try to enter a name in the textbox, hoping that would solve the issue, it did create something on Obsidian's end But when I select BK, I get the message And regarding,
the link #76 is an issue you resolved in 2021 where a person had something similar to my issue, you asked him to share the config file information in .git. Thought I'd share my config information proactively I'm assuming something needs to be configured in git's end (The application) |
Novice query here
But is it possible to enable version control on my documents without uploading my repository to Github? I want to maintain the file versioning locally on my Desktop
The https://publish.obsidian.md/git-doc/Getting+Started speaks about connecting to GitHub and nothing about a local only version...
Apologies and Thank you in advance.
The text was updated successfully, but these errors were encountered: