Posts

Showing posts from March, 2022

Kubernetes FAQ's and Answers

1. Diff between creating a service and exposing a service Answer: here  and here

Yaml Files

Image
 Kunal notes: here Anchors and extension: here

Git common errors and solutions

1.Pulling without specifying how to reconcile divergent branches Solution: here 2. Git log history is inconsisent if we have merges Reason: here 3. 3 ways of re-writing history  Solution: here 4. git rebase Solution: here

Git Pro book

 Important points chapter wise: Chapter 1: The major difference between Git and any other VCS (Subversion and friends included) is the way Git thinks about its data. Conceptually, most other systems store information as a list of file-based changes. These other systems (CVS, Subversion, Perforce, Bazaar, and so on) think of the information they store as a set of files and the changes made to each file over time (this is commonly described as delta-based version control). Git doesn’t think of or store its data this way. Instead, Git thinks of its data more like a series of snapshots of a miniature filesystem. With Git, every time you commit, or save the state of your project, Git basically takes a picture of what all your files look like at that moment and stores a reference to that snapshot. To be efficient, if files have not changed, Git doesn’t store the file again, just a link to the previous identical file it has already stored. Git thinks about its data more like a  ...