Skip to content

Commit a309fc8

Browse files
author
Martin Mosegaard Amdisen
committed
close #176 mention auth in readme
1 parent 0505761 commit a309fc8

File tree

1 file changed

+34
-27
lines changed

1 file changed

+34
-27
lines changed

README.md

Lines changed: 34 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
maintainer: groenborg
33
---
44

5-
# git phlow
5+
# git phlow
66

7-
| tollgate | build | goreport | coveralls | issues |
7+
| tollgate | build | goreport | coveralls | issues |
88
| ------------- | --- | ----------------- | ----- | ----- |
99
| ![integration status](https://concourse.bosh.praqma.cloud/api/v1/teams/main/pipelines/git-phlow/jobs/integration-test/badge) | ![build status](https://concourse.bosh.praqma.cloud/api/v1/teams/main/pipelines/git-phlow/jobs/shipit/badge) |[![Go Report Card](https://goreportcard.com/badge/github.com/Praqma/git-phlow)](https://goreportcard.com/report/github.com/Praqma/git-phlow) | [![Coverage Status](https://coveralls.io/repos/github/Praqma/git-phlow/badge.svg?branch=master)](https://coveralls.io/github/Praqma/git-phlow?branch=master) | [![Stories in Ready](https://badge.waffle.io/Praqma/git-phlow.svg?label=ready&title=Ready)](http://waffle.io/Praqma/git-phlow) |
1010

1111

12-
git-phlow (pronounced _"git flow"_), is a CLI extension for git, which provides an extra set of commands to easily use our pragmatic workflow called **the phlow**. It provides a branching model, which makes collaboration. It also provides automatic issue tracking using [github](https://github.com) issues with [waffle](https://waffle.io/). The branching models uses branches prefixed with ready(can be configured), to mark delivered task to the remote repository from where automation services can pick up and integrate the changes into the stable branch.
12+
git-phlow (pronounced _"git flow"_), is a CLI extension for git, which provides an extra set of commands to easily use our pragmatic workflow called **the phlow**. It provides a branching model which makes collaboration easy. It also provides automatic issue tracking using [GitHub](https://github.com) issues with [Waffle](https://waffle.io/). The branching model uses branches prefixed with `ready` (can be configured) to mark delivered tasks to the remote repository from where automation services can pick up and integrate the changes into the stable branch.
1313

14-
Read about the pragmatic workflow, **the phlow**, [here](http://www.praqma.com/stories/a-pragmatic-workflow/).
14+
Read about the pragmatic workflow, **the phlow** [here](http://www.praqma.com/stories/a-pragmatic-workflow/).
1515

1616
git-phlows core features will include:
1717

@@ -24,16 +24,16 @@ git-phlows core features will include:
2424
- *build for pretest integration*: deliver will push your branch to GitHub, ready for your pipeline to pull, integrate, test and merge back in.
2525

2626
## Using the phlow (workflow)
27-
To get started using the-phlow, read [praqmas](http://www.praqma.com/stories/a-pragmatic-workflow/) article about how the phlow works, and how to configure waffle for your projects.
28-
A few things nees to be configured before hand:
27+
To get started using the-phlow, read [praqmas](http://www.praqma.com/stories/a-pragmatic-workflow/) article about how the phlow works, and how to configure Waffle for your projects.
28+
A few things nees to be configured before hand:
2929

3030
- Activate __issues__ on the designated GitHub repository
3131
- Create the __labels__ used by the phlow. Read the article above to find them
3232
- Download and install _git-phlow_ using _brew_ or _wget_
3333
- Start creating tasks in GitHub issues
3434

3535
## installing git-phlow (tool)
36-
### Using Homebrew
36+
### Using Homebrew
3737
If you are a Mac user and have homebrew installed, you can tap our official repository.
3838

3939
```shell
@@ -42,10 +42,10 @@ brew tap praqma/praqma-tap
4242

4343
#Install git-phlow
4444
brew install git-phlow
45-
```
45+
```
4646
### Linux
4747
You can also install git-phlow running the following commands. That will download and install the project.
48-
Remember to use the latest version.
48+
Remember to use the latest version.
4949

5050
```shell
5151
#For linux
@@ -55,24 +55,30 @@ wget https://github.com/Praqma/git-phlow/releases/download/v2.3.2/git-phlow-2.3.
5555
### Windows
5656
Download the latest release [here](https://github.com/Praqma/git-phlow/releases) and extract it with zip. Place it in the windows path and now it is availbe as `git phlow`.
5757

58-
In the near future the installation will be available via [chocolatey](https://chocolatey.org/).
58+
In the near future the installation will be available via [chocolatey](https://chocolatey.org/).
5959

6060
##### Compatibility
6161
- Powershell v5.1+
6262
- command prompt - only with the `--no-color` flag
6363

6464
### Using git Phlow
65-
- Go to GitHub or Waffle and look at the issues
66-
- Find an issue to work on, and note it's id eg. `42`
67-
- Then go to the local git repository and type:
65+
- First time, authenticate to GitHub:
6866

6967
```git
70-
git phlow workon 42
68+
git phlow auth
69+
```
7170

72-
#creates branch: 42-some-issue-title
71+
- Look at the issues by using `ghi` or going to GitHub or Waffle
72+
- Find an issue to work on, and note its id e.g. `42`
73+
- Go to the local git repository and type:
74+
75+
```git
76+
git phlow workon 42
7377
```
78+
79+
- This will create a branch: `42-some-issue-title`
7480
- Make the changes and complete the task
75-
- When it's done, type:
81+
- When it's done, type:
7682

7783
```git
7884
git phlow wrapup --hard
@@ -81,35 +87,36 @@ git phlow wrapup --hard
8187
#alternately you can add your changes manually and use
8288
git phlow wrapup
8389
```
84-
- Now that the changes are ready, type:
90+
- Now that the changes are ready, type:
8591

8692
```git
8793
git phlow deliver
8894
# renames local branch to: delivered/42-some-issue-title
8995
# pushes remote branch named: ready/42-some-issue-title
9096
```
9197

92-
If the automation tools have been configured to listen for __ready/__ branches, they will pick up the branch and integrate them with the stable branch.
93-
if you do not have an automation system, you can deliver the work to your default branch by doing a local deliver instead.
98+
If the automation tools have been configured to listen for __ready/__ branches, they will pick up the branch and integrate them with the stable branch.
99+
If you do not have an automation system, you can deliver the work to your default branch by doing a local deliver instead.
94100

95101
```git
96102
git phlow deliver --local
97-
98-
#changes branch to master
99-
#merges changes from 42-some-issue-branch
100-
#pushes changes to github
101103
```
104+
105+
- Changes branch to `master`
106+
- Merges changes from `42-some-issue-branch`
107+
- Pushes changes to GitHub
108+
102109
### Automation systems
103-
For automation systems we use, travis CI, Concourse CI and Jenkins. They can all be configured to follow the phlow and listen for ready branches.
104-
You can see the concourse pipeline configured for this project [here](https://concourse.kubernetes.praqma.cloud/teams/main/pipelines/git-phlow)
110+
We use Travis CI, Concourse CI and Jenkins. They can all be configured to follow the phlow and listen for ready branches.
111+
You can see the Concourse pipeline configured for this project [here](https://concourse.kubernetes.praqma.cloud/teams/main/pipelines/git-phlow)
105112

106113
### git-phlow on Windows
107114

108115
We recommend running git-phlow using _PowerShell_.
109-
There are known issues with _cmd_ rendering formatted text incorrectly, and _git bash_'s input being handled incorrectly.
116+
There are known issues with _cmd_ rendering formatted text incorrect, and _git bash_'s input being handled incorrectly.
110117

111118
## Project status
112-
This is the official repository for the git-phlow extension. The project is currently under development and many additions are still to come. but version 0.1.5 is available and stable for both linux and Mac.
119+
This is the official repository for the git-phlow extension. The project is currently under development and many additions are still to come. but version 0.1.5 is available and stable for both linux and Mac.
113120

114121

115122
## Getting started

0 commit comments

Comments
 (0)