on 26 June 19
When I started using Git for version control , I was not sure if all the knowledge that I would pay to invest in them . Branching - Stashing staging - these concepts were foreign to me all Git .
Today I can not imagine a life without Git . Git was not only a much needed skill for version control of my work , but also made ââme a better programmer .
Here is a series of simple tips that will help you make Git a vital part of your workflow web development part .
Tip 1 : Spend some time learning Git Basics
Learning the basics does not mean that all the Git documentation from start to finish (although if that's your thing , I would not discourage you from doing so ) to read .These are useful for Website designers dubai and many more.
There are both learning content in Git I 'm sure there's something that suits your personal preferences and style ideal learning .
Learn Git Basics
Here are some Git to verify learning resources :
What is the speed with Git Start
Try Git is a 15-minute interactive tutorial Git
Tips and Tricks ( Ry Git Tutorial ) is a hands-on tutorial on common characteristics Git
Git The Simple Guide
Git Ready is a website that has a collection of simple tips and short Git
Git Cheat Sheet
Learn Git Tower section is a list of resources for learning Git on my website
Official Git tutorial
Training : Git Basics ( video ) is a playlist of YouTube video
Pro Git an online book to read if you want a deep understanding of Git
Tip 2 : Start with a simple workflow Git
Less is more .
Often , Git is associated with complex workflows . Let me say this, but : you do not have to completely master Git to immediately use their benefits .
Git workflow can be very simple - and many " simple " cases is exactly what you need . Sure, you can have multiple remote repositories , issue requests to use traction to re , changes , etc. , but not if you do not want to have.
Starting with a simple workflow also makes it easier to add more complexity later if you need advanced features of Git . The advanced features will be for you if you need them .
Here are some examples of different workflows Git leading ideas and inspiration :
Git workflow for designers
Git workflow by Markus Prinz
Common Git workflow by Yehuda Katz
Git Workflow for Agile Teams
The main point is that you do not stress about having to learn all about Git . You can start using Git today.
Tip 3 : stop being afraid of making mistakes
One great thing about Git is that it is almost 100 % foolproof .
Keep the following things in mind you should be able to sleep soundly at night :
Git hardly erases data. Even measures that seem to actually delete items actually add data to the system that will make you quickly dispose exclusions .
You can do almost anything to undo Git . I encourage you to experiment and explore git and try their ideas , because this is one of the most important benefits of using a version control system .
Each team member has a repository in your / your cloned computer. Essentially , it is like a sort of redundant entire project version control ( including the full story ) , in the very unlikely event that you make up things big time and can not recover your fault .
Tip 4 : Understand the concept of branching
The concept of branching in Git is one of the most useful things you can learn at the beginning . Branching can follow the evolution of a separate project possible and is an essential component of being an effective Git users .
It may not sound like a big deal at first, but once you understand the concept of the branch , you will wonder how you could have lived without this ability .
Although other version control systems use the concept of branching is also the first system Git is very easy and useful .
Here are some resources to read that will help you understand the concept Git branch :
LearnGitBranching ! is an interactive tutorial on Git branch
Basic git branching and merging
Branch Wizardry is a quick guide to Git branching and merging
Branches Git is a simple tutorial with numerous illustrations
A successful Git branching model
Tip # 5 : Learn more about the Staging Area
Versioning is especially helpful if you roll to confirm the changes in only one . This ensures that compromise can be easily reversed without side effects. The habit of frequent commits also helps your employees easier to understand the progression of changes .
Git makes granular commits easier than any other version control system ( VCS ) because you can determine exactly what changes in the next commit .
A feature called staging area Git makes this possible .
Learn to use and love the staging area , because it is one of the most important and unique components of Git .
Here are some sources on the Git staging area :
Why the test area is so useful
What is the advantage of Git staging ? - A discussion of the value of the staging area , Git
Aha ! Moments in which the Git learning - a blog post , receiving enlightening experience you highlight after seeing how the work of the staging area
The test area is a quick guide to the staging area Git
Tip 6 : Use a Git GUI
While definitely not necessary to use a GUI , I recommend .
With a graphical user interface makes a lot of tasks easier and gives you an advantage .
After all , with Git is not the heart of the commands and parameter learning , is to improve the use of Git for your workflow coding . If a GUI improves workflow coding , there is no reason to make things harder on yourself .
Gitx ( L ) Screenshot
Here are some Git GUIs to verify :
Tortoise Git - Git open source GUI for Windows
Gitx ( L ) - open source Mac OS X Git client
SourceTree - free Git ( and Mercurial ) GUI for Mac and Windows
git -cola - a Git GUI open source
Tower - My company Git GUI for Mac users
Using a GUI will not relieve you from which to learn the basics, but if you are satisfied with the level of mastery Git , examine the tools that will make your life easier .
Tip 7 : Get involved in the use of Git
With a new tool can be a little lead headache in the early days . The only way to get through this learning curve to continue.
Do not look back , make a total commitment. Introduction to Git in encoding normal workflow , will soon be one of the largest and most important things you've done in a while .
Avoid exceptions, such as "I 'm going to use Git for these projects to these other projects , but no. " Initially at least .
The mindset to fully commit to Git gives you more opportunities to practice, makes things easier , because you know that the current project you are currently working with a version control system , and above all makes Git one part of their programming habits .
In the future , you will see that there are just some situations where you do not need to use Git . You will not know what these situations are up to you . Git in all situations that you can use
Early in his journey to Git League , make a 100% commitment to it .
This blog is listed under Development & Implementations Community