2. Git
• It is modern and widely used Version Control System.
• VCS allows the team to work together on the same workspace.
• The projects are managed with efficiency and high speed with Git.
3. Features of Git
• Open Source:- It is free for all and can be used by anyone.
• Scalable:- When number of users increases, git can easily handle such
situation.
• Distributed:- Instead of doing project on different devices, git allows
to create clone and merge part of the project to make entire project.
• Secure:- It is secure because it uses Secure Hash Function.
4. Benefits of Git
• Save Time
• Offline working
• Undo mistakes
• Track changes
5. Git Commands
1. Git config command:-
• git config --global user.name ----> to set user name
• git config --global user.email ----> to set email id for comits
2. Git init command:- git init demo ----> used to create local repository
3. Git clone command:- git clone URL ----> create local copy of repository from
URL
4. Git add command:- git add filename ----> add one or more files to staging area
5. Git commit command:-
• git commit -m “Commit Message”----> changes the head, records file
permanently in the version of history.
• Git commit -a ----> commit file added in repo with commit add and any other files
changed since then.
6. 6. Git status command:- git status ----> display state of working
directory
7. Git push command:-
• git push origin master ----> sends the changes made to master branch
• git push-all ----> pushes all the branches to server repository
8. Git pull command:- git pull URL ----> retrieves data from GitHub
9. Git branch command:- git branch ----> lists all branches available in
repository
7. SonarQube
• It is a security testing tool.
• It makes sure that data is being store and not accessible by any
unauthorized user.
• It is open source software and was established by Sonar Source.
• It is used to test the quality of the code and execute the automatic
reviews with the help of identifying the bugs, code analysis and
security exposures on various programming languages such as
Java, C#, JavaScript, PHP, Ruby.
• It will generate the reports of the code coverage, complexity of code,
repeated code, security weakness, and bugs. It offers complete
analysis with multiple tools like Ant, Maven, Gradle, Jenkins, and so
on.
8. Features of SonarQube
• It also supports external tools like GitHub, LDAP and Active Directory.
• It will help to understand the complex issues.
• It will provide application security.
• It can record the metric history and will provide evolution graphs.
• It will integrate with multiple development environment like Eclipse, IntelliJ
idea.
9. Jenkins
• Jenkins is an open source automation tool written in Java programming
language that allows continuous integration.
• Jenkins builds and tests our software projects, which continuously making
it easier for developers to integrate changes to the project.
• It also allows us to continuously deliver our software by integrating with a
large number of testing and deployment technologies.
• With the help of Jenkins, organizations can speed up the software
development process through automation.
• With Jenkins projects can achieve CI (Continuous Integration) with the
help of plugins. Plugins allow integration of various DevOps stages.
10. Advantages of Jenkins
• It is free of cost.
• It does not require additional installations or components.
Means it is easy to install.
• Easily configurable.
• It supports 1000 or more plugins to ease your work. If a plugin
does not exist, you can write the script for it and share with
community.
• It is built in java and hence it is portable.
• It is platform independent. It is available for all platforms and
different operating systems. Like OS X, Windows or Linux.