public_docs/useful_git_commands.md
Arif Ali 5c11421793 Add useful_git_commands.md
Start of adding a set of useful git commands

Signed-off-by: Arif Ali <mail@arif-ali.co.uk>
2025-02-24 10:52:37 +00:00

424 B

Useful git commands

Check difference between to branches/tags and will exclude the changelog

git diff @..pkg/import/4.8.1-2 -- ':(exclude)debian/changelog'

Check only the files, in this example the debian folder

git diff @..pkg/import/4.8.1-2 -- 'debian/'

Check differences in the debian folder, but exclude the changelog

git diff pkg/import/4.8.1-2..@ -- debian/ ':(exclude)debian/changelog'