Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

When creating a remote repo with --new, do "git remote add origin" automatically #696

Closed
zevaverbach opened this issue Oct 7, 2019 · 3 comments

Comments

@zevaverbach
Copy link
Contributor

Describe the solution you'd like
A one-liner of (see #695) gh --new that creates a repository on GitHub, in this case named after the local repo's dirname, and adds the new repository as a remote called origin.

@protoEvangelion
Copy link
Member

This sounds like a sensible default 👍

protoEvangelion pushed a commit to protoEvangelion/gh that referenced this issue Nov 10, 2019
Create a new GitHub repository based on the name of the current directory & init with a README

re node-gh#696
protoEvangelion pushed a commit to protoEvangelion/gh that referenced this issue Nov 10, 2019
Create a new GitHub repository based on the name of the current directory & init with a README

re node-gh#696
protoEvangelion pushed a commit that referenced this issue Nov 10, 2019
Create a new GitHub repository based on the name of the current directory & init with a README

re #696
protoEvangelion pushed a commit that referenced this issue Nov 10, 2019
# [2.7.0](v2.6.1...v2.7.0) (2019-11-10)

### Features

* **repo:** create new repo based on directory name and clone ([bed87f1](bed87f1)), closes [#696](#696)
@protoEvangelion
Copy link
Member

🎉 This PR is included in version 2.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@protoEvangelion
Copy link
Member

@zevaverbach try gh re --new --clone --init or without --init

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

No branches or pull requests

2 participants