0

Newbie here
Suppose I have a repository AAA

AAA |- folder1(contains files) |- folder2(contains files) 

I wish to transfer the contents of repository AAA into the empty repository BBB. How would I do that?

5
  • Do you want to just copy the file structure from a particular branch, or do you really want a complete carbon copy of a repository? Commented Apr 22, 2018 at 11:15
  • I have no branches. A carbon copy please Commented Apr 22, 2018 at 11:16
  • Are both repositories on your computer, or remote? Commented Apr 22, 2018 at 11:30
  • They are Remotes I think Commented Apr 22, 2018 at 11:34
  • Why don’t you clone AAA as BBB? Commented Apr 22, 2018 at 12:54

1 Answer 1

1

just copy folder AAA as BBB (including the .git directory present inside AAA)

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.