Do you want to work on your git repositories more easily? You don’t like or don’t know how to work properly from the command line? In this article, find out how to do without command lines and work on your git repositories in this way.
Do you want to work on your git repositories more easily? Or connect GitLab to SourceTree? Don’t like or don’t know how to work well from the command line? In this article, find out how to do without command lines and easily work on your git repositories.
So, to achieve this, we need a Git GUI utility, I named SourceTree.
SourceTree is, in our opinion, the most complete in this area. Also, there is free software developed by Atlassian. They are also the authors of Bitbucket, which is used for accommodation. The two products mentioned are not necessarily linked during use.
Let’s get to the point. Let’s see together what the steps are to manage our deposits easily.
Also, it is available on the site SourceTree. It is also available for PC, MAC and Linux versions. Depending on the platform, the interface sometimes changes, but the use is the same.
We skipped the installation step. Additionally, we installed with default settings.
Here is the window you will get
NB: You need to add the key you generated to the git account for SSH connection
Once done, click on Okay.
1- Copy the cloning link of your project on git
2- Click on Clone in the utility. You will get the figure above.
Note: For the path to clone your repository in your machine, you can either leave it as default or choose a path to which you would like the project to be cloned.
3- Once the form has been correctly completed, click on the clone
Your project has been perfectly cloned. So, you can explore it
You can now modify your project
1- Click on the button + to add the modified files
2- Write the commit message
3- Validate the changes
After all this, we must now send the data to the git server
1- Click on send
2- Choose the branch on which you want to push data
3- Send the data
You will get this result.
If you update your git repository, you will see your file
The integration of git-flow in SourceTree is fascinating because it allows you to do many things other than pushing a repository. In case you can’t manage something with the interface, SourceTree comes by default with a command line with built-in git.
If you did not fully understand the steps or prefer to entrust your professional, please contact us.