My blog is built with hexo
, which will be pushed to blog
repo in github
blog/
--themes/
----pacman/
But there is a sub forder pacman
. It was cloned from other repo in github, meaning it has its own .git
folder.
When I try to commit and push the whole directory to blog
repo, the contents of pacman are NOT pushed to github
I try to delete .git
in pacman
but it could NOT be pushed to github
either.
Here is the git status after deleting the .git
in pacman
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
Here is the .gitignore
, it has nothing to do with the pacman
as far as I could see
.DS_Store
Thumbs.db
db.json
debug.log
node_modules/
public/
.deploy/
When I push to blog
repo, I'd like to push everything under pacman
as well. How can I do that?