python_introduction/learning_git.md

88 lines
2.1 KiB
Markdown
Raw Normal View History

2022-05-02 11:10:45 +02:00
# Git
2022-05-02 13:57:29 +02:00
Git is a Version Control System.
It is an advanced open source project.
That is the most popular VCS with his advantage like security, efficiency, speed etc.
He was developed in 2005 by Linus Torvalds, the Linux's father.
Many companies projects using Git (Google, Gnome, Netflix, etc).
In 2016 12 million people were using Git.
All project histories were saved in the work file.
You can publish, with all histories, projects in a Git platform like Gitea, GitHub, Bitbucket, GitLab, etc.
With this tool, you can commit projects, compare projects.
That is the best tool for teamwork.
2022-05-02 11:10:45 +02:00
## Git in Pycharm
2022-05-02 12:07:01 +02:00
### Starting a version controlled project
2022-05-02 11:10:45 +02:00
![screenhot](assets/git_pycharm_source_00.png)
![screenhot](assets/git_pycharm_source_01.png)
![screenhot](assets/git_pycharm_source_02.png)
![screenhot](assets/git_pycharm_source_03.png)
![screenhot](assets/git_pycharm_source_04.png)
![screenhot](assets/git_pycharm_source_05.png)
![screenhot](assets/git_pycharm_source_06.png)
![screenhot](assets/git_pycharm_source_07.png)
![screenhot](assets/git_pycharm_source_08.png)
![screenhot](assets/git_pycharm_source_09.png)
![screenhot](assets/git_pycharm_source_10.png)
![screenhot](assets/git_pycharm_source_11.png)
2022-05-02 12:07:01 +02:00
### Creating an online repository
2022-05-02 11:10:45 +02:00
![screenhot](assets/git_pycharm_source_12.png)
![screenhot](assets/git_pycharm_source_13.png)
![screenhot](assets/git_pycharm_source_14.png)
2022-05-02 11:20:09 +02:00
<!---
2022-05-02 11:17:14 +02:00
2022-05-02 11:10:45 +02:00
![screenhot](assets/git_pycharm_source_15.png)
2022-05-02 11:20:09 +02:00
-->
2022-05-02 11:17:14 +02:00
2022-05-02 12:07:01 +02:00
### Cloning the remote project into a new project
2022-05-02 11:15:06 +02:00
![screenhot](assets/git_pycharm_clone_00.png)
![screenhot](assets/git_pycharm_clone_01.png)
![screenhot](assets/git_pycharm_clone_02.png)
![screenhot](assets/git_pycharm_clone_03.png)
![screenhot](assets/git_pycharm_clone_04.png)
![screenhot](assets/git_pycharm_clone_05.png)
![screenhot](assets/git_pycharm_clone_06.png)
2022-05-02 11:20:09 +02:00
<!---
2022-05-02 11:17:14 +02:00
2022-05-02 11:10:45 +02:00
![screenhot](assets/git_pycharm_source_16.png)
![screenhot](assets/git_pycharm_source_17.png)
2022-05-02 11:20:09 +02:00
-->
2022-05-02 11:17:14 +02:00
2022-05-02 12:07:01 +02:00
### Updating the original project
2022-05-02 11:10:45 +02:00
![screenhot](assets/git_pycharm_source_18.png)
![screenhot](assets/git_pycharm_source_19.png)
![screenhot](assets/git_pycharm_source_20.png)