Skip to content

Instantly share code, notes, and snippets.

View CodeLyoko2610's full-sized avatar
🎯
Focusing

Chuong Pham CodeLyoko2610

🎯
Focusing
  • Kempower Oyj
  • Southern Finland
View GitHub Profile
@CodeLyoko2610
CodeLyoko2610 / git-feature-workflow.md
Created February 16, 2020 19:52 — forked from blackfalcon/git-feature-workflow.md
Git basics - a general workflow

Git-workflow or feature branching

When working with Git, there are two prevailing workflows are [Gitflow][gitflow] and [feature branches][feature]. IMHO, being more of a subscriber to continuous integration, I feel that the feature branch workflow is better suited, and the focus of this article.

If you are new to Git and Git-workflows, I suggest reading the [atlassian.com Git Workflow][article] article in addition to this as there is more detail there than presented here.

I admit, using Bash in the command line with the standard configuration leaves a bit to be desired when it comes to awareness of state. A tool that I suggest using follows these instructions on [setting up GIT Bash autocompletion][git-auto]. This tool will assist you to better visualize the state of a branch in regards to changes and being in sync with the remote repo.

Basic branching