How do I access a default path?

Asked

Viewed 1,146 times

0

How to make Git 2.1.0 Windows access a default path (example: projetos wamp/www), in previous versions I made it easy, Git>Propiedades>Iniciar in: C:/wamp/www... and ready.

I did it in this current version but it doesn’t work. How it will be now?

1 answer

1

I don’t know if git has a standard way of doing this, but you can change the current directory on git bash startup

Creating a. bashrc file in your default directory and putting the command below, git bash will point to this directory as soon as it starts:

cd /c/wamp/www

This file may contain more content and everything that exists in it will run when starting git bash.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.