Skip to content

Updating

Pascal Zarrad edited this page Mar 26, 2024 · 6 revisions

As every piece of software, even psh as a collection of shellscripts can get updates from time to time. It is recommended to check for updates if your last execution of psh is some time ago. The update process utilizes git.

Updating psh

The process of applying updates is (normally) as simple as installing psh. You just have to pull the latest changes from GitHub. Please take care of the "Updating a fork" section, if you forked psh to apply own customizations.

This is done by changing your current working directory to psh's repository directory using cd. Then you simply have to use the following command:

git pull

This will check for changes on the remote repository, and download them if there are any. If you don't edit files, that are shipped psh, this should not end up in conflicts. If it does, you have to solve them. Take a look at the git documentation on how to solve conflicts on pull.

Update a fork

The proces of updating a fork on your local machine is similar to the process of "Updating". I recommend to take a look at "Syncing a fork" to sync your fork to the newest version of the main repository.

Clone this wiki locally