Showing posts from June, 2019

What is git?

Git basics -What is Git?Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Git is a distributed version-control system for tracking changes in source code during software development. It is designed for coordinating work among programmers, but it can be used to track changes in any set of files. Its goals include speed, data integrity, and support for distributed, non-linear workflows.

Previously ---

1.  Linux was used bit-keeper after that Linux stated the git

2.  Git stores a snapshot of the entire projects. If some files have no changes, git does not store them again.

Creator                       Linus Torvalds (Linux creator)
Developer(s)               Junio Hamano and others[
Initial release             7 April 2005; 14 years ago 0.99
Stable release             2.22.0 / 7 June 2019; 12 days ago
Written in                   C, Shell, Perl, Tcl, Python
Operating system        POSIX: Lin…

E: Package 'aptitude' has no installation candidate

E: Package 'aptitude' has no installation candidateSometimes, we are getting broken package error. Please can easily solve this problem.

sudo apt-get install aptitude

If you got error like- 
E: Package 'aptitude' has no installation candidate
Solution:- sudo apt-get update

      sudo apt-get install build-essential

      sudo dpkg --configure -a

      sudo apt-get -f install
None of those worked in my case. I then went to Ubuntu Software Center>Edit> Software Sources and made these changes.

After that the following commands did the job

sudo apt-get update

      sudo apt-get install build-essential

      sudo apt-get install aptitude
Now, problem is solved.
Please follow the link below:-