Info Knots

Friday, March 24, 2023

Sync original repository changes to forked repository

 

When you fork a repository on GitHub or another Git hosting platform, you create a copy of the repository under your account. This copy is completely independent of the original repository, and any changes you make to the forked repository will not affect the original repository.

However, if the original repository is updated, you can choose to incorporate those updates into your forked repository. To do this, you need to sync your fork with the original repository.

Syncing your fork means fetching the changes from the original repository and merging them into your forked repository. This will bring your fork up-to-date with the latest changes in the original repository.

You can sync your fork using the following steps:

  1. Open your forked repository on GitHub.
  2. Click on the "Fetch upstream" button in the "Pull requests" tab.
  3. Click on the "Create pull request" button.
  4. Review the changes and create the pull request.

Once you have created the pull request, you can merge the changes into your forked repository. This will update your fork with the latest changes from the original repository.

Friday, March 17, 2023

On starting lampp mysql service getting "netstat: command not found" error

 

The error message you're seeing indicates that the netstat command is not found. This command is used by XAMPP's startup script to check whether the MySQL port (port 3306) is already in use or not. If the netstat command is not found, XAMPP will not be able to start MySQL.

To fix this issue, you can install the net-tools package, which contains the netstat command. You can do this by running the following command in the terminal:

csharp
sudo apt-get install net-tools

After installing the net-tools package, try starting XAMPP again by running the following command:

bash
sudo /opt/lampp/lampp start

This should start the MySQL server without any issues.