Beginner's questions on PyCharm and Git

Answered

Still new to Git and PyCharm, so please bear with me.

 

I have been playing around a bit with GitKraken and I particularly like its graphical interface . If my commits are A - B - C - D , it is very easy to go back to B and create a new branch from there.

How do I do that in PyCharm?

 

Also, does Pycharm show a tree view of the various branches? If I go to VCS - show history, PyCharm seems to show only the history of the current branch

 

Is it safe to use both PyCharm and Gitkraken on the same git repository? I am talking about a local-only repository that would never be pushed to the cloud. I have done a few tests and it seems to work, but I'd like to understand if I risk breaking anything.

 

Thanks!

0
1 comment

> How do I do that in PyCharm?

Exactly like you do it in GItKraken - by clicking a commit in the Log and selecting New -> Branch.

> Also, does Pycharm show a tree view of the various branches?

Log tab has a graph. By default, it compacts the graph to make it easier to work with huge repositroies, but you could enable the SHow Long Edges option

> If I go to VCS - show history, PyCharm seems to show only the history of the current branch

You could toggle the behavior using the Show all branches in the Show History toolbar.

> Is it safe to use both PyCharm and Gitkraken on the same git repository

Yes. Why do you think otherwise? PyCharm does not call any git operations that modify git repository state without explicit commands.

> I am talking about a local-only repository that would never be pushed to the cloud

That does not matter, you could easily push from PyCharm and use other tools at the same time. Just make sure you do not do conflicting operations from both simultaneously.

0

Please sign in to leave a comment.