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

How to change the git bash default directory? #65

Open
rgaiacs opened this issue Sep 5, 2017 · 0 comments
Open

How to change the git bash default directory? #65

rgaiacs opened this issue Sep 5, 2017 · 0 comments

Comments

@rgaiacs
Copy link

rgaiacs commented Sep 5, 2017

@lixuekai2001 opened carpentries/workshop-template#425 that says

After installing the Git Bash, the default directory is at C:\Program Files\Git\i.
However in this directory I cannot neither create new files by

$ winpty nano draft.txt

nor copy/paste the files by

$ cp a.txt b.txt

Does anyone have experience how to change the directory to the desktop?

I think that this issues belongs here instead of the workshop-template so I'm moving it.

@lixuekai2001 you can change the directory using

$ cd C:\Users\YOUR-USERNAME\Desktop

I don't know how to change the default.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant