Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Allow users to abort before pushing to origin #44

Closed
wants to merge 3 commits into from
Closed

Allow users to abort before pushing to origin #44

wants to merge 3 commits into from

Conversation

IlleQuiProgrammat
Copy link

Fixes #34

Added so that origin isn't messed up by the program unintentionally
Copy link
Contributor

@palemtnrider palemtnrider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for submitting a PR for this issue.
In the future, please assign the issue to yourself before beginning work so others know you're working on it.
See comments for changes.

setup.sh Outdated Show resolved Hide resolved
setup.sh Outdated Show resolved Hide resolved
 - added git origin url to the prompt
 - uses variable rather than re-executing the same command
 - Increase clarity of line 417–steps now mirror order.
This has now been added—only seen after re reading comments.
@IlleQuiProgrammat
Copy link
Author

Apologies for not assigning myself and for the late reply.. I didn’t realise this would be an issue :/. I believe I have amended it appropriately.

Comment on lines +401 to +402
GIT_ORIGIN = `git config --get remote.origin.url`
GIT_BRANCH = `git rev-parse --abbrev-ref HEAD`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These aren't valid in bash/zsh. Can you elaborate on how you tested your changes?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are, what isn’t valid about them?

@IlleQuiProgrammat IlleQuiProgrammat closed this by deleting the head repository May 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a confirmation step before pushing to users github repo
2 participants