DanieBlog - You can successfully install Pycharm in Linux Mint. Now we will learn how to use Pycharm to push your code to GitLab.
I assume that you can check out and clone the GitLab repository to your computer.
Write code and Add version
For example, I will create a file called
demo-gitlab.py. When creating a new file, a message board will appear as image below.
It notifies you whether you want to Add version for this file. If yes, click
Add right on this window.
If this message does not appear, and your file is red as shown in this picture.
Right click to the file, select
+ Add or you press
Ctrl + Alt + A. Your file has now turned green.
Recommended Reading: How to install Pycharm community in Linux Mint
Push and Commit code
Here, you will learn how to push your code on GItLab.
In the image below, you will see 2 icons in blue and green colors.
To push your code to GitLab, click on the green icon (or press
Ctrl + K).
A Commit window will appear, where you will write your commit message.
Recommended Reading: How to install Gitlab plugin in Pycharm
After you have finished writing the commit message. Click the
Commit and Push... button as shown in the image above. And done.
Using Pycharm and GitLab may not be difficult, but for new people it may be a problem.
I myself too, at first I didn’t know how to make it work. I don’t know how to put my code on GitLab with Pycharm.
Now you can do it easily.If you liked this article, then please subscribe to our YouTube Channel for more video tutorials. You can also find us on Twitter and Facebook.
If you appreciate what we share in this blog, you can support us by:
- Stay connected to: Facebook | Twitter | Google Plus | YouTube
- Subscribe email to recieve new posts from us: Sign up now.
- Start your own blog with SSD VPS - Free Let's Encrypt SSL ($2.5/month).
- Become a Supporter - Make a contribution via PayPal.
- Support us by purchasing Ribbon Lite Child theme being using on this website.
We are thankful for your support.