-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Donnie
committed
Nov 22, 2017
1 parent
2758577
commit ab0062a
Showing
1 changed file
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Git 101 Guide | ||
============= | ||
|
||
create a new repository | ||
#### create a new repository | ||
|
||
```bash | ||
$ git init git101 | ||
|
@@ -11,11 +11,32 @@ $ git add README.md | |
$ git commit -m "initial repo" | ||
``` | ||
|
||
push git101 to remote repository | ||
#### push git101 to remote repository | ||
|
||
> create git101 repository in your github account | ||
```bash | ||
$ git remote add origin [email protected]:fire9/git101.git | ||
$ git push -u origin master | ||
``` | ||
|
||
#### import git flow | ||
|
||
```bash | ||
➜ git101 (master) ✔ git flow init -d | ||
Using default branch names. | ||
|
||
Which branch should be used for bringing forth production releases? | ||
- master | ||
Branch name for production releases: [master] | ||
Branch name for "next release" development: [develop] | ||
|
||
How to name your supporting branch prefixes? | ||
Feature branches? [feature/] | ||
Bugfix branches? [bugfix/] | ||
Release branches? [release/] | ||
Hotfix branches? [hotfix/] | ||
Support branches? [support/] | ||
Version tag prefix? [] | ||
Hooks and filters directory? [/Users/fire9/git101/.git/hooks] | ||
``` |