Accessing the personal repository on windows - hamstar/Braincase GitHub Wiki

Download and install TortoiseGit

You can find details for doing this at the TortoiseGit site.

Add your information to TortoiseGit

Before you will be able to commit you must enter your name and email into the TortoiseGit settings:

Clone the personal repository

Cloning the repository will create new folder called repo.

Right click on white space and select Git Clone from the context menu:

Enter the connection string for your repository. This will be in the following format <username>@<address>:repo.

Enter your password:

The cloning process will now begin, it may ask to verify the servers host key before connecting, in most cases you can just click yes.

Your repository has now been cloned as you will be able to see by the appearance of the repo folder.

Add something to the repository

Go ahead and create a file called README.txt with some example text inside:

You will need to add the new file to the repository:

You will see the icon change to look like this:

Modify something in the repository

In this image, a file in the repository that have been modified. Notice the red bang icon on the file?

You don't need to go through the addition process with modified files, you can just right click on the modified file and choose commit:

Commit your changes

Now you need to commit your changes to the repository and enter a description about what you changed so you can remember later if you have to look through the logs:

Commit multiple files

If you want to commit multiple changes at a time you can simply select multiple files to commit and right click on them and choose commit.

Commit a whole repository

If you want to commit a whole repository that has changes, then you can right click on your repository folder and choose commit. You can also tick and untick the folders or files in the commit window to decide which files are committed.

Push your changes to the Braincase server

But wait! Your changes haven't been saved to the server yet. This means you can do a bunch of commits that are saved to your PC and then push them when you want. This can be handy if you are travelling for instance and don't have access to the internet.

You don't have to commit every single change in order to do a push.

You can push your changes by doing the following:

Upon clicking OK You will be asked for your password again and the repository will be pushed back to the server.

Notice how no files were right clicked in the first image, just white space. You will need to right click on white space or the repo folder itself to get the option to push. It is also available on successful commit windows:

⚠️ **GitHub.com Fallback** ⚠️