Mateus Viccari
Mateus Viccari

Reputation: 7709

How to push Git TAGs from IntelliJ without using the console?

Is there a way to push git tags from IntelliJ without bringing up the console and typing git push origin master --tags?

Upvotes: 56

Views: 28640

Answers (3)

Jojo Narte
Jojo Narte

Reputation: 3104

In IntelliJ IDEA 2024.1.4 (not sure of the exact version when this was added), you can manage tags from the Git menu at the top on Mac and Windows. intellij menu

showing git tag management menu

Upvotes: 0

Miraj Hamid
Miraj Hamid

Reputation: 662

In IntelliJ

You can go to

  1. logs
  2. select commit line you want to tag
  3. right-click on it and select 'new tag'
  4. give a tag name and press 'ok'
  5. push

Make sure you check the push tags checkbox

enter image description here

Upvotes: 11

uwolfer
uwolfer

Reputation: 4516

You can create a tag in VCS -> Git -> Tag... menu.

Then open the push dialog with VCS -> Git -> Push and activate the checkbox "Push Tags".

Upvotes: 96

Related Questions