How to add files to a branch?

How do I get all the files of the 2nd repo into a branch of 1st repo?

I created a branch named "New_css_theme" in the 1st repo (see 1st image). However, the new HTML/CSS theme is located in the 2nd repo (see 2nd image).

2 answers

Why do you have two separate repos? Are these different projects? Or do you have two different servers (remotes) for the same project?

The first repo is the only one on a server (rails). That HTML/CSS was my first attempt at a HTML project. It's Ok for an internal prototype, but it's not good enough for public consumption. So now I want to switch out the html/css and replace it with a theme. However, I don't know what the proper workflow is to do this.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Davin Studer
Posted 5 hours ago in Off-topic

Friday fun: What super hero are you?

As a kid I loved reading super hero comic books and the renewed interest these days in super heroes with all the Marvel and DC movies is pretty exciting to me. So, if you're like me today is all abou...

57 views 12 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you