Showing posts with label git. Show all posts
Showing posts with label git. Show all posts

Jan 1, 2016

[Git][wrap up] Concepts and commands

Delete remove branch:
http://stackoverflow.com/questions/2003505/delete-a-git-branch-both-locally-and-remotely
http://stackoverflow.com/questions/1072171/how-do-you-remove-an-invalid-remote-branch-reference-from-git

Concept:
Git objects are the actual data of Git, the main thing that the reposi-
tory is made up of.

Git object data is a directed acyclic graph.

Git object contents are immutable. However, the data type insides
the object, e.g as a reference, is actually a pointer. The pointer's content can change,
points to different git object. E.g a branch, tag, and remote are references.