Git Best Practice: How do you mark a revision of "TESTED" or "REJECTED"

I would like to mark some commits as “verified” or “rejected” depending on the success of certain regression tests (similar to clearcase shortcuts)

Regression testing itself is not automated (unfortunately, these are lengthy tests).

However, I would like to have a warning when trying to check old commits that have been rejected or have not been tested at all.

It would be nice if someone pulled from the repository also receive tags (and similar warnings when checking rejected versions).

+3
source share
3 answers
Tags

Git , , (git push --tags). , , , .

:

, - . , , " " . , " ". , .

, :

+3

" " , . , stable unstable ( HEAD), stable , "" . - :

git branch -m stable master
+3

You can get the tags from a remote repository git fetch <remote> --tags. It relies on someone who does it on their own.

0
source

Source: https://habr.com/ru/post/1702307/


All Articles