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

feature: bit undo (or bit fix) #64

Open
chriswalz opened this issue Oct 28, 2020 · 11 comments
Open

feature: bit undo (or bit fix) #64

chriswalz opened this issue Oct 28, 2020 · 11 comments
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@chriswalz
Copy link
Owner

potential api example

bit fix undo-commit
bit fix untrack-file
bit fix rename-commit
bit fix catch-up-to-branch
@chriswalz chriswalz added the enhancement New feature or request label Oct 28, 2020
@chriswalz chriswalz added this to the v1.0.0 milestone Oct 30, 2020
@chriswalz chriswalz added the good first issue Good for newcomers label Nov 25, 2020
@rustiever
Copy link

Hi @chriswalz I'm budding gopher, can you elaborate this issue, I want to give it a shot

@chriswalz
Copy link
Owner Author

Hey maybe start off with

bit fix undo-commit

This would mean you'd do a soft reset of the commit only if it hasn't been pushed already

If (aheadOfRemoteBranch()) {

git reset --soft HEAD~1

}

@rustiever
Copy link

I think that slack channel in contributing.md file is broken

@rustiever
Copy link

I should create new file fix.go in cmd folder for this issue??

@rustiever
Copy link

Hi @chriswalz, waiting for your response

@chriswalz
Copy link
Owner Author

Hey don't be afraid to get your hands dirty and create a new branch. Yes create a file fix.go in cmd!

Check this for some additional guidance on adding a new bit command
#87 (comment)

@rustiever
Copy link

Thanks@chriswalz

@rustiever
Copy link

What about slack channel
Looks like a it's link is broken in contributing.md file

@chriswalz
Copy link
Owner Author

Oh no that's a bummer. Does this link work

https://join.slack.com/t/bit-cli/shared_invite/zt-xaw5b2nk-pUEt1JyZgi~HDB6BBZQqkw

@rustiever
Copy link

Oh no that's a bummer. Does this link work

https://join.slack.com/t/bit-cli/shared_invite/zt-xaw5b2nk-pUEt1JyZgi~HDB6BBZQqkw

Yes @chriswalz , Thanks

@qascade
Copy link

qascade commented Oct 4, 2022

If this issue is still open, may I take a look at this under hacktoberfest2022?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants