Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The setting method of multiple default working directories in git bash

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Because you switch between three or four projects every day, open git bash for the first time every day, then change directories, and do this once for each project. It's also quite repetitive. How can such repetitive work be done?

In fact, there is a perfect way to solve this problem:

Right-click git bash, first create a desktop shortcut, and then right-click the shortcut-> property.

Change the starting position, for example, to the directory of the trading terminal developed by my C # language.

In this way, each time you double-click the above shortcut, git bash goes to the directory set above by default.

Again, set a shortcut to the C++ background project so that there are two shortcut git bash icons on the desktop

There are other projects, and you can also do this by opening each git bash to a different working directory.

It's so simple to solve the problem!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report