Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7561433
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T13:09:41+00:00 2026-05-30T13:09:41+00:00

A friend of mine has written an irc bot, and has the code on

  • 0

A friend of mine has written an irc bot, and has the code on github. I made a fork, and wrote a few plugins and pushed to my fork. The owner of the original repo moved the plugins folder to a submodule (I don’t even really get that, I’ve never really used git) and fetching and merging failed, and I couldn’t figure out what went wrong.

So I deleted my fork, and forked it all over again, but when I did git clone {my github fork} I had an empty plugins folder. I’m not sure what I’m doing wrong, or what’s the right way to fork a repo that has a submodule thing in it. :/

@manojlds answer below does grab the submodule and grab the stuff to put in the plugins directory, but if I try to add a file and push I can’t because it’s pointing at the original submodule. I’ve forked the submodule now too, I just don’t know how to make my main repo point to my fork of the submodule instead of the upstream submodule.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T13:09:42+00:00Added an answer on May 30, 2026 at 1:09 pm

    You can run:

    git submodule update --init --recursive
    

    ( or you can clone using the --recurse-submodules option)

    and the plugins folder will be populated. If you don’t understand about submodules, read about them here: http://book.git-scm.com/5_submodules.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Friend of mine has a problem :). There is an application written in Visual
A friend of mine has to use an internally-written Windows application to perform part
A friend of mine has inherited an old Joomla 1.0.x site, that amongst other
A friend of mine has to send a normal email using ONLY HTML/HTML5 (or
A friend of mine sent me this code snippet to celebrate his new baby
A friend of mine has difficulties in using both hands in the keyboard. He
I'm trying to help a friend of mine who has to do a test
I'm trying to figure out with a friend of mine who has contributed the
A friend of mine has told me that on x86 architecture DMA controller can't
A friend of mine has a MS SQL database installed. He wanted to be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.