Git is a version control system. Git exactly not a github.
Github is a repository or server where git users of the go are hiding their projects.
Github alternatif: ; gitlab, bitbucket
What is Version Control?
Version control is use to method the file in the track to changes. A version control system take a backup the Project before making changes in the project. But when this process is extended reason complexity. Git in such cases helps us.
Git is a database that follows and records the history and content of these changes for us.
VCS(version control system)
By using VCS, we can save the current state of the files you are working on at any time, and then return to this saved and controlled state.
The version is called the state at which the files are recorded.
The vcs as can be used in html file, android or ios application as can be used for source code . So the vcs not interested with which use programing or application while working file .
Benefit use to Vcs
The vcs as can be used in html file, android or ios application as can be used for source code . So the vcs not interested with which use programing or application while working file .
Benefit use to Vcs
- Provides compatible teamwork
- All users make freely changes and somehow make merge in the project when we do use vcs
- The version ensures proper tracking
- Return to previous versions
- Provides understand our why the files have changed. We have to continuous read to comment in the project
If we don't, we're going to need to save files with different names every time. Therefore we are going to need to use most disk spaces
Vcs Types
1-CVS(CENTRALİZED
VERSİON CONTROL)
All clients dependes of with a reposiyory or disk.
We can process when repo is onliene.
2-DVCS (DİSTRİBUTED
VERSİON CONTROL SYSTEM)
- The server is no need continous connection. All computer has a repository.
- Faster, network is not mandatory, resistant to possible errors
- Developers work independently of each other
- Changes may be accepted or rejected.
Git Setup
The setup is quite simple. Here yo can dowland the address.
We see whether it is installed correctly when write git version-- in the terminal screen
- Git config -system :Current setting for All the users and project
- git config -global:Only current settings for self users.
- Git settings on a project basis in the .git/config file
- git config -global user.name <
> - git config -global user.email<
> - git config --global core.editor<
>
You want to list if all the settings.
- Git config --global -l
Simple as the git stream
Repo called building Version control system most essential compenent. The repository all changes and the changes with additional information in the file.( who,when make all changes and explanations about the change) is a database that records as a separate version.





No comments:
Post a Comment