AkronCodeClub / edX-FP101x-Oct-2014

Study group for edX course FP101x beginning October 2014
8 stars 1 forks source link

Should I Branch or Fork? #3

Closed rpottsoh closed 10 years ago

rpottsoh commented 10 years ago

@jdantonio trying to school myself on git. I have managed to create a branch, Dead-End, and would like to remove the branch.

My goal was to commit a practice file to my folder in Master; success. Next was to create a branch (perhaps I should have forked, instead of branching) and to modify the practice file that is in Dead-End and commit the changes back to Dead-End; success. Now I have decided the changes I have made to the practice file in Dead-End need to be thrown away. I am trying to get rid of Dead-End to accomplish this.... Don't see how to accomplish this. Primary goal here is to not make any changes to the practice file I committed to Master; success (so far). If the solution is simple, fine. Otherwise if it is a little more involved perhaps this could be dealt with next week during the install-fest.

jdantonio commented 10 years ago

@rpottsoh Branch

Because you have been added as a contributor there is no need to fork. That will just complicate things.

To delete a branch, use the command git branch -D <branch-name>. In this case, that would be git branch -D Dead-End.

rpottsoh commented 10 years ago

Simple enough. Thanks

Sent from my android device.

-----Original Message----- From: jdantonio notifications@github.com To: AkronCodeClub/edX-FP101x-Oct-2014 edX-FP101x-Oct-2014@noreply.github.com Cc: Ryan Potts rpottsoh@gmail.com Sent: Thu, 02 Oct 2014 2:25 PM Subject: Re: [edX-FP101x-Oct-2014] Should I Branch or Fork? (#3)

@rpottsoh Branch

Because you have been added as a contributor there is no need to fork. That will just complicate things.

To delete a branch, use the command git branch -D <branch-name>. In this case, that would be git branch -D Dead-End.


Reply to this email directly or view it on GitHub: https://github.com/AkronCodeClub/edX-FP101x-Oct-2014/issues/3#issuecomment-57678423