Comments (29)
Sorry fixed and working now
Thank You for your patience
from logseq-git-sync-101.
HI Charles
Thank you i decided to fllow your advice plus support the Loqseq Team.
Could you tell me how to stop Git from syncing on my laptop and Pc do i disable options in Github or on my machines.
I would use Logseq Sync to Syync
I was thinking of just using Git as a backup to Github if possible
Could you advice or point me to docs to find out how to do this ?
from logseq-git-sync-101.
Cheers worked a treat
from logseq-git-sync-101.
SSH-key without passward
is preferred
doesn't mean do not use ssh-keys.
Please, use the ssh-key.
from logseq-git-sync-101.
SSH-key without passward
is preferreddoesn't mean do not use ssh-keys.
Please, use the ssh-key.
HI Charles
But your Windows docs do not mention this!
from logseq-git-sync-101.
It's in https://github.com/CharlesChiuGit/Logseq-Git-Sync-101/wiki/%F0%9F%AA%9C-Workflow.
Please read all the guilds if you're not familiar with git , thanks.
from logseq-git-sync-101.
It's in https://github.com/CharlesChiuGit/Logseq-Git-Sync-101/wiki/%F0%9F%AA%9C-Workflow. Please read all the guilds if you're not familiar with git , thanks.
HI
Sorry i didnt see that i have SSH from my Linux laptop for same repo can i use that if i copy the key into my windows machine or should i make a new ssh key ?
from logseq-git-sync-101.
Every machine should has their own ssh-key, please make a new one for your windows machine.
from logseq-git-sync-101.
Every machine should has their own ssh-key, please make a new one for your windows machine.
OK thank you so one i have set up a new ssh doi i just follow the windows instructions as i have a repiosirtry already i just need to pull from github as i have no loqseq files on my Windows yet?
from logseq-git-sync-101.
Yes exactly!
from logseq-git-sync-101.
Do remember to update the git-hooks.
from logseq-git-sync-101.
Do remember to update the git-hooks.
I have added a SSH key into Github from this PC and when i try again with Git now it says it does not exsist ???
$ git clone [email protected]:{thxxxxx}/{logseq}.git
Cloning into '{logseq}'...
fatal: remote error:
is not a valid repository name
In Linux this worked flawlesley
from logseq-git-sync-101.
Did you literally type {}
in the command line?
Please remove it
U should be typing sth like git clone [email protected]:CharlesChiuGit/logseq.git
from logseq-git-sync-101.
HI Charles
NOt sure if i screwed up yesterday but everything came through to my WIndows machine.
But i now get errors on my laptop
From github.com:thorrrr/logseq
ceccf99..e8a4c20 main -> origin/main
Updating ceccf99..e8a4c20
Fast-forward
pages/Contents.md-3 | 0
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 pages/Contents.md-3
fatal: cannot lock ref 'HEAD': is at e8a4c20b64a7040591510065bcaed23d55cc5f82 but expected ceccf99ffac298cf15a623ac49ef19060a6e7d75
If you don't want to see those errors or don't need git, you can disable the "Git auto commit" feature on Settings > Version control.
Also on my iPad i can see the pages but they no longer commit what the pull from Github
Could you point me how to fix it please no doubt i have made an error
from logseq-git-sync-101.
fatal: cannot lock ref 'HEAD': is at e8a4c20b64a7040591510065bcaed23d55cc5f82 but expected ceccf99ffac298cf15a623ac49ef19060a6e7d75
This kind of error often happens when u open 2 logseq instances at once, for example, one on windows and one on iPad.
See https://github.com/CharlesChiuGit/Logseq-Git-Sync-101/wiki/Prerequisite#%EF%B8%8F-things-you-should-avoid
Also on my iPad i can see the pages but they no longer commit what the pull from Github
Did you close and re-open logseq on ipad? B/c the shortcut I provide in this repo will only be activate during Open Logseq app
and Close Logseq app
. U need to re-open Logseq on ipad to pull the latest commit from your github repo. If this doesn't work out, then u might have a git conflict issue, please refer to https://github.com/CharlesChiuGit/Logseq-Git-Sync-101/wiki/%F0%9F%92%A5-FAQ#what-is-git-conflict
from logseq-git-sync-101.
Hi Charles
I have my laptop and my IOS devices working fine re sync with Workin Copy App.
But my Windows App is not picking anything up.
I can see in the git folder data from today but the app is not seeing it ?
Plus anything i add in Windows does not show up on any other device.
Not sure if Git is screwed on my Windows machine or i have it setup wrong
from logseq-git-sync-101.
I have done a git status and pull and it looks to have grabbed them but i thought this method was automatic.
Anything i add in the Windows Logseq is not being pushed across i dont think!
I have my version set to 60 but it still takes 5 min not sure why , but nothing on my Windows machine!
from logseq-git-sync-101.
As u can you have a git conflict on your windows machine, so nothing can be pushed or pulled at this moment, not until u fix the conflict.
The best approach for u now is to move what's not being pushed, re-do setup on your windows machine, add new notes back and try to push again.
This git sync method is indeed automatic, but now u have a git conflict, so it has been blocked until u solve it.
from logseq-git-sync-101.
I have just been to git irc for help.
I am even more confused they say the version control settings in logseq is stupid and not needed !!!!
Git would work without and have refused to help told me to go back to logseq
from logseq-git-sync-101.
- I never heard of "git irc", wtf is it?
- Despite git in logseq is stupid, u need it.
- I have a hard time understanding your English.
- So did u do what I said in the previous comment?
- Can u please read the manual/wiki first?
from logseq-git-sync-101.
I am re doing everything from scratch as you mentioned but i do not understand No 7
Copy&paste the post-commit and pre-commit in .git/hooks. (Note: this folder could be hidden)
GIT IRC
from logseq-git-sync-101.
- Copy&paste the
post-commit
andpre-commit
in.git/hooks
. (Note: this folder could be hidden)
.git
is a folder..., and there's a hooks
folder inside .git
folder...
Just copy&paste the bloody files to the .git/hooks
folder. Please read EVERY LINE in the ENTIRE wiki, not just read the windows section. Here's the wiki. Clearly, you don't know how to debug and don't know how git works, so read everything I wrote in the wiki, don't skip any section.
- This screenshot you took has already said what needs to be fixed, so fix it. If you don't know how to fix it, google the error.
from logseq-git-sync-101.
If you don't want to deal with git, you can always choose to paid for Logseq Sync. Here's the link.
from logseq-git-sync-101.
Could you tell me how to stop Git from syncing on my laptop and Pc do i disable options in Github or on my machines.
Just remove the .git
folder and you'll be good! 👍
from logseq-git-sync-101.
You mean the one on each machine the .git
from logseq-git-sync-101.
ys, each .git
folder in your Logseq graph.
from logseq-git-sync-101.
Hi Charles
I have deleted it but when i open Logseq i get an errror .git missing and a new .git file bac in folder ??
The new .git file is created each time with this code in it
gitdir: /home/dale/.logseq/git/_home_dale_Loggy/.git
from logseq-git-sync-101.
Okey, then delete that .git
file and .gitignore
and toggle off the Enable Git auto commit
option in Logseq settings.
from logseq-git-sync-101.
nice!
from logseq-git-sync-101.
Related Issues (20)
- Adding encryption with git-remote-gcrypt HOT 5
- Add `a-shell` as a free alternative for ios/ipados devices. HOT 1
- Add `.gitattributes` file with `* merge=union` to avoild merge confilts
- Question re Version Control HOT 36
- Add the official Logseq sync option HOT 2
- set up Git sync for existing graphs HOT 3
- Instructions for Linux Users HOT 1
- Add some safe checks from `git-auto`
- github unreachable on android. HOT 11
- fatal: cannot lock ref 'HEAD' HOT 9
- Wrong path of source file on Android 11, and extra line needed for not asking for pass phrase. HOT 1
- How can apply the step 8 of guide for mac in case of linux? HOT 15
- ssh-add not found in a-Shell HOT 9
- Bug: Invalid path when loading graph from `Termux` HOT 7
- Git push failed on Windows: Permission denied HOT 3
- Step 4 in For iOS iPadOS users (Working Copy) --> out of date HOT 5
- Add community plugin logsync
- Be objective to Syncthing :) Working solution exists on iOS HOT 2
- Followed the guide for macOS, but I'm getting this error (screen attached) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logseq-git-sync-101.