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

Git more on init #51

Merged
merged 1 commit into from
Jun 14, 2020
Merged

Git more on init #51

merged 1 commit into from
Jun 14, 2020

Conversation

72636c
Copy link
Member

@72636c 72636c commented Jun 14, 2020

We can automatically configure the remote since we now capture GitHub org and repo details. Making some initial commits is another easy win.

We can automatically configure the remote since we now capture GitHub
org and repo details. Making some initial commits is another easy win.
@changeset-bot
Copy link

changeset-bot bot commented Jun 14, 2020

🦋 Changeset is good to go

Latest commit: 570ded1

We got this.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Comment on lines +22 to +28
'user.email=<>',
'-c',
'user.name=skuba',
'commit',
'--allow-empty',
'--author',
'skuba <>',
Copy link
Member Author

Choose a reason for hiding this comment

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

This is hyper-defensive so we don't blow up if you haven't configured your Git username or email 🤷

@72636c 72636c marked this pull request as ready for review June 14, 2020 04:39
@72636c 72636c requested a review from a team as a code owner June 14, 2020 04:39
};

export const commitChanges = async (exec: Exec, message: string) => {
await exec('git', 'add', '--all');
Copy link
Contributor

Choose a reason for hiding this comment

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

It's annoying that git commit -a nearly-but-not-quite works here

@72636c 72636c merged commit b85b4b3 into master Jun 14, 2020
@72636c 72636c deleted the init-more-git branch June 14, 2020 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants