Showing posts with label Git. Show all posts
Thursday, January 10, 2019
Detached HEAD in GIT and how to fix it .
Posted by
fullstacktips,
on
January 10, 2019
What is a 'Detached HEAD' state ?
When you do a "git checkout" you determine which revision of your project you want to work on . GIT then places all the files in that revision in your working folder . We usually do a git checkout on a branch name . However, you can also checkout on a commit id . This is when the detached HEAD state comes into picture .
When you do a "git checkout" you determine which revision of your project you want to work on . GIT then places all the files in that revision in your working folder . We usually do a git checkout on a branch name . However, you can also checkout on a commit id . This is when the detached HEAD state comes into picture .
Thursday, October 11, 2018
Working with Git Submodules
Posted by
fullstacktips,
on
October 11, 2018
A submodule is a repository embedded inside
another repository. The submodule has its own history; the repository it is
embedded in is called a superproject. Submodules can be used for at least two
different use cases:
Wednesday, October 10, 2018
Git Basics - Clone ,Init , Add , Commit , Reset ,Rm ,Status
Posted by
fullstacktips,
on
October 10, 2018
Git is
a version-control system for tracking changes in computer files and coordinating
work on those files among multiple people. It is primarily used for source-code
management in software development, but it can be used to keep track of changes
in any set of files.
Subscribe to:
Posts
(
Atom
)