Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Github Mac App How To Change Default Storage Directory

In the github mac app i am trying to change the default directory of one of my repo's. In the settings screen I only see a place to change the remote repo. enter image description here

Where do I need to go to change the default location? Sorry if it is very obvious.

like image 913
Alex Pelletier Avatar asked Mar 02 '14 07:03

Alex Pelletier


People also ask

How do I change the default directory in GitHub?

Hit Alt-T , press options and then you can change the default storage directory.

How do I change my working directory in git?

To change this current working directory, you can use the "cd" command (where "cd" stands for "change directory"). For example, to move one directory upwards (into the current folder's parent folder), you can just call: $ cd ..

How do I change the repository on GitHub desktop?

The GitHub Desktop menu bar You can click Current repository to switch to a different repository in GitHub Desktop. Current branch shows the name of the branch you're working on. You can click Current branch to view all the branches in your repository, switch to a different branch, or create a new branch.


1 Answers

So after some trial and error I figured out how to change the location after you have set it up. Apparently it is as easy as just moving the folder that contains the .git. So for example I just moved the website folder into a new directory and the GitHub app was able to track the movement.

Edit 1: The move does not always stick so you might have to try a couple of times.

like image 102
Alex Pelletier Avatar answered Nov 15 '22 06:11

Alex Pelletier