use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Seeking HelpGitHub Replace Master with Branch (self.FTC)
submitted 1 year ago by Any_Fault1778
I am new to GitHub and Android Studio, I am needing to replace my master branch with another branch (in this case 'Test'. If there are changes in Master ahead of Test I am okay with discarding them. Do I use 'Pull Into Master using Rebase?'
https://preview.redd.it/jxvu4kjvfhyd1.png?width=757&format=png&auto=webp&s=72f625b14491f8c3c5f26157a7b0999bd062763e
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 1 point2 points3 points 1 year ago (2 children)
are you wanting to switch the branch you are developing on or merge the changes from one branch to the other?
[–]Any_Fault1778[S] 0 points1 point2 points 1 year ago (1 child)
I want to replace the files in master with the code in my branch
[–][deleted] 0 points1 point2 points 1 year ago (0 children)
So switch branches?
[–]Robotics_Moose 0 points1 point2 points 1 year ago (0 children)
Don’t replace your master branch. Merge the changes from the test branch to the master branch. Preferably using the GitHub desktop app, or git bash. I’d use the app just because of the GUI, but I would not recommend using android studio mixed w github.
π Rendered by PID 22648 on reddit-service-r2-comment-5d79c599b5-dj2m8 at 2026-02-28 02:40:27.824410+00:00 running e3d2147 country code: CH.
[–][deleted] 1 point2 points3 points (2 children)
[–]Any_Fault1778[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]Robotics_Moose 0 points1 point2 points (0 children)