• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Can we do Git activities from IDE itself or do we require to do some from console only

 
Ranch Hand
Posts: 2512
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I use Git from IntelliJ.By doing right click on the folder I can pull code, commit, push code etc.
There are some commands which can be run from.console or git bash.

If we do Git activities from the IDE itself , would I be able to do everything the way I have been doing or will I have to do only from command line ?

Thanks.
 
Bartender
Posts: 2880
150
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Monica Shiralkar wrote:... If we do Git activities from the IDE itself , would I be able to do everything the way I have been doing or will I have to do only from command line ?


Not sure what this question means.

An IDE is just a GUI shell over git commands. IntelliJ also has a console window where it shows the actual commands that are executed for git. While using an IDE or not is purely up to one's personal choice, there are a few advantages such as warnings and wizards to do common tasks for git. Intellij also does some code clean up and formatting if configured.

Hope this helps
 
Monica Shiralkar
Ranch Hand
Posts: 2512
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks.I do everything from the IntelliJ IDE only (pull, commit , push, revert etc). Will I still need commands for something that can't be don't directly with IDE ?
 
Sheriff
Posts: 26777
82
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If there is something that cannot be done in the IDE, but you need to do it, then it naturally follows that you would have to do it somewhere else than in the IDE.
 
Saloon Keeper
Posts: 13280
292
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you been through the Git manual? Do you know what commands Git provides?
 
Saloon Keeper
Posts: 24314
167
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Git menu covers all Git functions that I can employ and still stay sane, including branching, rebasing and stashing.

Git is a complex system with new and wierd options added all the time, so no guarantees that absolutely every git command is available there, but the ones you'll need for everyday work definitely are.

If you do find you need to do something that isn't in IntelliJ's Git plugin, do it from the command line. Git doesn't care where the commands come from and the only caution is that if you do something that changes the project from the command line, you might need to refresh the IntelliJ view of it. But IntelliJ is pretty good at detecting a lot of that stuff.
 
Monica Shiralkar
Ranch Hand
Posts: 2512
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic