1 2 3 4 5 6 7 8 |
|
Add Authentication to Gollum
- Create a Rack
config.ru
like below:
1 2 3 4 5 6 7 8 9 10 11 |
|
Add Commas to Du Output
Note this requires GAWK
- Create
commas.awk
:
1
|
|
- Pipe du output through
commas.awk
:
1 2 |
|
Create a New and Empty Branch in Git
- Create new empty branch:
1
|
|
- Delete all files in the working directory:
1
|
|
Show Git Branch via Your Bash Prompt
- Create the Bash function below to determine what branch you are using:
1 2 3 4 |
|
- Update your PS1:
1
|
|
Track Upstream Branch in Git
- Show upstream remotes:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
- Create local branch tracking upstream:
1 2 3 |
|