joyeecheung / diary Goto Github PK
View Code? Open in Web Editor NEWReads diaries written in markdown from a git submodule, and generates a static site for it.
Home Page: http://joyeecheung.github.io/diary/
Reads diaries written in markdown from a git submodule, and generates a static site for it.
Home Page: http://joyeecheung.github.io/diary/
First I want to thank you for developing this project cause it's exactly what I need 👍
One little problem is, when I finish editing the post and want to see from local server by using gulp server
command, it only show up the first day's diary but not all my diary in project folder.
I don't know weather it's my own problem or it's the code. My command of daily usage is:
cd into/the/sub/module/folder
git pull
cd ..
gulp build
gulp server
Then I can't see the everyday post inside my submodule folder, but only the first day's post. And after I enter: gulp deploy
, I can see everything is fine on the internet. Is it my mistake of these command or it's the code's issue?
Though it's not a big problem for daily usage, but I still wigh I could see the local preview before I push to the GitHub...
你好,我在执行git submodule add git://new/submodule.git diary
这一步时,执行失败。
fatal: Unable to look up new (port 9418) (nodename nor servname provided, or not known)
fatal: clone of 'git://new/submodule.git' into submodule path '/Users/web/Desktop/diary/diary' failed
我ping了github.com,并添加到/etc/hosts中依然无法解决。请问你有好办法吗?
Just found myself stuck with submodule after forking & pulling down the repo.
After changing config.js
and .gitmodules
, I've tried the instructions from README:
git submodule sync
git submodule init
git submodule update
Then some error bumped out:
Unable to checkout 'b86879f37437385af97c13ec55947e3a8969f45f' in submodule path 'diary'
It seems like git had store the head ref of the original submodule and would checkout some point even if .gitmodules
have been modified.
My .gitmodules
:
[submodule "diary"]
path = diary
url = [email protected]:allenfantasy/my-tech-diary.git
I would like to improve this project and write my blog as well, but haven't found a perfect solution ( c the reference )
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.