bit icon indicating copy to clipboard operation
bit copied to clipboard

feature: bit undo (or bit fix)

Open chriswalz opened this issue 5 years ago • 11 comments

potential api example

bit fix undo-commit
bit fix untrack-file
bit fix rename-commit
bit fix catch-up-to-branch

chriswalz avatar Oct 28 '20 02:10 chriswalz

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

rustiever avatar Oct 02 '21 05:10 rustiever

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

}

chriswalz avatar Oct 02 '21 16:10 chriswalz

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

rustiever avatar Oct 03 '21 10:10 rustiever

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

rustiever avatar Oct 03 '21 10:10 rustiever

Hi @chriswalz, waiting for your response

rustiever avatar Oct 09 '21 03:10 rustiever

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 https://github.com/chriswalz/bit/issues/87#issuecomment-933966808

chriswalz avatar Oct 09 '21 03:10 chriswalz

Thanks@chriswalz

rustiever avatar Oct 09 '21 03:10 rustiever

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

rustiever avatar Oct 09 '21 03:10 rustiever

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

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

chriswalz avatar Oct 09 '21 03:10 chriswalz

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

rustiever avatar Oct 09 '21 08:10 rustiever

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

qascade avatar Oct 04 '22 17:10 qascade