Adding commit

Hello! Help me please!
I found the program, downloaded its code, translated it completely into Russian. But now a new version has been released (commits have been added), but I don’t want to translate everything again. How to add only what has changed?
I tried to make a fork of the project, replaced it with translated files in my branch, but I don’t see any diff merge changes. Please help someone who can! Thank you very much in advance!

Hi @semen8991,

Welcome to the Github Community Forum!

You can create a branch with the modification you did, than push this branch into your fork than create pull request of this branch into the develop branch of the original repository.

This is the steps you need to do:

  1. try to create pull request of the changes you made (without create nothing more)

  2. if the pull request give conflicts you can try to solve them and you have done

  3. alternatively locally add and commit your changes, than reset to the points where you didn’t done commits yet.

  4. create a branch from here

  5. rebase the branch where you had done commits before into this

  6. push this branch on remote

  7. done

Ask for more :slight_smile:


Mark helpfull posts with Accept as Solution to help other users locate important info. Don’t forget to give Kudos for great contents!

1 Like


I have a similar situation here.

There is a Github-Repo which contains the English documentation for a certain program.

There are separate repos (no forks) too, that contain this documentation translated into other languages (e.g. French, Spanish etc.).

Locally I have separate forks of the English and foreign language repositories.

Now, new commits have been merged into the English repo.

What is the best practice to get these new commits to the foreign language repos without destroying the translations?

The file names are always exactly the same as in the English repo.