Nowadays, many people have started to benefit from the open source control version called Git in all project types, no matter how big or small. Software Using source code management to develop Gitwas made available for free by Linus Torvalds in 2005.
In this article, we will talk about the features of Git, which allows multiple developers to work together, and the most used tools. Go commands We will give you information about.
What is Intel’s New Instruction Set AVX10?
Intel is preparing to launch a brand new command system that will allow you to get maximum performance from the processor. The AVX10 instruction system, which is expected to bring unified support to P-Core and E-Core, seems to create a revolution in Intel’s processor architecture.
What are Git Features?
Enables the development of professional projects Go features can be listed as follows:
1. Enables Collaboration
The most important feature of Git is that it offers the opportunity to collaborate. Teams can manage their projects more effectively by communicating with each other. For this, quick access to Git repositories is provided. Once Git repositories are accessed, errors are detected faster.
2. scalable
Being scalable, Git compresses large data seamlessly. Therefore, the data stored on the client is very small. As the number of people working on the project increases, Git also scales.
3. It is Open Source
Git is released under the GPL (General Public License) open source license. Git, which is offered completely free of charge, is open source and its source code changes as needed.
4. Non-linear
Non-linear is expressed as non-linear in Turkish. Thanks to its non-linear feature, Git visualizes the development history. It also offers special tools for navigating development history.
5. It is fast
Git does not work depending on network connection. Therefore, projects progress faster with Git.
6. Provides Local Copy of Development History
Git provides all developers with a local copy of their entire development history. Thus, a repository is formed from this local copy. Changes are copied from this created pool to another. The changes are then imported as additional development branches. Changes can be merged via a local branch.
7. It is safe
There is a local repository belonging to each participant in the project. The system may crash while working on the project. In such cases, lost data can be recovered from any of the local storages. Users can access backups of all files at any time.
Most Useful Git Commands
Git consists of a rich command set that provides access to internal components and advanced operations. It can even intervene in remote data with its distributed, practical, scalable and fast control system.
It also carries out some changes within the scope of authorized responsibilities. Developers can create projects using Git commands. They can work on these projects simultaneously all over the world.
You can also create open source code projects with git commands. You can also develop your own projects and design them in a remarkable portfolio. The most useful Git commands for creating projects can be listed as follows:
1. git init
git init commandstarts a new Git repository. This command is “git init [repository name] It is used as .
2. git add
A specified file or project is transferred to the project’s working directory. git add command is added with . “git add [dosya-adi] It is used as.
3. git stash
git stash command, temporarily stores all changed files in the working directory. The usage of the git stash command is: “git stash save”.
4. git merge
git merge The command is used to merge a specified branch with another existing branch. Git merge usage: git merge [branch name]
5. git config
gitconfig command, It is used to configure the email and author name related to Git commands. Git config command is to view who made the changes.
- git config usage: “git config –global user.email “[email address]”
- git config –global user.name “[name]”
6. git clone
The command used to clone a remote Git repository git clone is called. Using the git clone command: git clone [url]
7. git diff
One of the most popular Git commands git diff, Shows the changes made in the file. git diff command usage:
- git diff [first branch] [second branch] – Shows the difference between the two files in question.
- git diff git diff –staged– Refers to changes between the staging file and the final version.
8. git status
Command used to list committed files git status It is said. git status command usage: git status
9. git log
git log command, It is a command that displays and lists transaction records. The order is written historically from last to first. It is not very functional when used alone.
However, it becomes very functional when used with some parameters. git log usage: git log git log –follow[file] – Looks at the version history of a file.
10. git day
git tag command, Tags the specified action. git tag usage: git day [commit id]
11. git rm
git rm command, Deletes a specific file via the current working directory. This command, git rm [filename] It is used as .
12. git show
The most used Git commands git show command, displays file changes with metadata of the specific transaction. Git show command usage: git show [commit id]
13. git branch
The git branch command allows the project to be divided into branches. Git branch command:
- git branch -d [branch name]- Deletes the feature branch of the created project.
- git branch git branch [branch name]- Creates a new branch in the project.
14. git remote
The git remote command mounts the local git repository to the server. git remote command: git remote add [variable name] [Remote Server Link]
15. git pull
Useful Git commands git pull, Merges changes from the remote server into the working directory. Using the git pull command: git pull [Repository Link]
16. git checkout
git checkout, Switches between different Git branches after the project is created. Git checkout command usage: git checkout [branch name] git checkout -b [branch name] – Creates a new branch and switches to it.
20 Unknown Commands in Google Searches
We use Google frequently in our daily life. Everyone knows how to search on Google, but search tips are not as widely known.
Source link: https://www.tamindir.com/blog/en-cok-kullanilan-git-komutlari_86376/