Is it possible to transfer files from a branch to a main branch? (Github)

Asked

Viewed 134 times

0

Hi guys! My question is about Github.

I moved files to a branch that is not main, and I want to move to the main branch (main). Is there a command in Git Bash to do this?

(In case it would be files from a single folder on my pc, I just want to exchange the files to the main branch!!).

Thank you in advance.

  • 3

    is referring to passing the files to the main branch? take a look at the git merge <branch> here in this article.

  • This answers your question? git merge or rebase

  • Thanks! Understanding how branchs work is essential. Git merge worked.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.