Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should I Branch or Fork? #3

Closed
rpottsoh opened this issue Oct 2, 2014 · 2 comments
Closed

Should I Branch or Fork? #3

rpottsoh opened this issue Oct 2, 2014 · 2 comments

Comments

@rpottsoh
Copy link
Contributor

rpottsoh commented Oct 2, 2014

@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
Copy link
Member

@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.

@jdantonio jdantonio reopened this Oct 2, 2014
@rpottsoh
Copy link
Contributor Author

rpottsoh commented Oct 2, 2014

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:
#3 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants