Doing Quick Experiments In Gitby@dat-tran
322 reads
322 reads

Doing Quick Experiments In Git

by Dat Tran2mAugust 20th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

In this mode, commits in "detached" mode don't belong to any branch. Instead of creating a new branch, you can checkout the branch where you want to start the experiment. The changes you made while in this mode are orphaned and will be purge in the next garbage collection run. If I don't like the new color, I can just checkout other branch and forget about changes I made in detached HEAD mode. Now, if I like the changes, the changes are persisted in the new branch.

Company Mentioned

Mention Thumbnail
featured image - Doing Quick Experiments In Git
Dat Tran HackerNoon profile picture
Dat Tran

Dat Tran

@dat-tran

I'm a developer. I love to learn new things. I write about WordPress at http://binarycarpenter.com/

About @dat-tran
LEARN MORE ABOUT @DAT-TRAN'S
EXPERTISE AND PLACE ON THE INTERNET.

Share Your Thoughts

About Author

Dat Tran HackerNoon profile picture
Dat Tran@dat-tran
I'm a developer. I love to learn new things. I write about WordPress at http://binarycarpenter.com/

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
L O A D I N G
. . . comments & more!