Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Init should default to current project root #1237

Description

@winstliu

Prerequisites

Description

Today I created a new folder and opened Atom in it, intending to start working on a new Git repository. So I clicked on the 0 files icon and then tried to init a repository. Instead of populating the location field with the project I had opened, it defaulted to %USERPROFILE%\github.

Steps to Reproduce

  1. Open a folder in Atom that is not a Git repository
  2. Try to init through the github package

Expected behavior: Field should be pre-populated with current project path

Actual behavior: Populated with C:\Users\<username>\github

Reproduces how often: 100%

Versions

Atom    : 1.23.0-dev-042c22f43
Electron: 1.6.15
Chrome  : 56.0.2924.87
Node    : 7.4.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions