What is the sequence for commit commit in git?

I cloned the git repository and made some changes. I have to commit the changes, and then tag those committed changes. What should be the sequence of commands? It's like, git clone, git add, git commit, git push, and then git tag?

If not, what is the sequence?

+4
source share
1 answer

You can mark the revision immediately after committing or later (after clicking). Then you can click on your tag: git push origin [tagname].

So yes, your sequence is fine. Take a look at this in more detail: https://git-scm.com/book/en/v2/Git-Basics-Tagging .

+7

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


All Articles