mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 23:46:24 -04:00
Merge branch 'master' of github.com:visionmedia/git-extras
This commit is contained in:
commit
274b3dc819
16
Readme.md
16
Readme.md
|
|
@ -66,7 +66,7 @@ $ brew install git-extras
|
|||
- `git promote`
|
||||
- `git local-commits`
|
||||
|
||||
## extras
|
||||
## git-extras
|
||||
|
||||
The main `git-extras` command.
|
||||
|
||||
|
|
@ -89,7 +89,7 @@ $ git extras update
|
|||
```
|
||||
|
||||
|
||||
## gh-pages
|
||||
## git-gh-pages
|
||||
|
||||
Sets up the `gh-pages` branch. (See [GitHub Pages](http://pages.github.com/) documentation.)
|
||||
|
||||
|
|
@ -182,6 +182,12 @@ node (master): git effort --above 15 {src,lib}/*
|
|||
|
||||
```
|
||||
$ git effort --above 5
|
||||
```
|
||||
|
||||
By default `git ls-files` is used, however you may pass one or more files to `git-effort(1)`, for example:
|
||||
|
||||
```
|
||||
$ git effort bin/* lib/*
|
||||
```
|
||||
|
||||
## git-repl
|
||||
|
|
@ -203,12 +209,6 @@ bin/git-ignore
|
|||
bin/git-release
|
||||
|
||||
git> quit
|
||||
```
|
||||
|
||||
By default `git ls-files` is used, however you may pass one or more files to `git-effort(1)`, for example:
|
||||
|
||||
```
|
||||
$ git effort bin/* lib/*
|
||||
```
|
||||
|
||||
## git-commits-since [date]
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@ branch=$1
|
|||
test -z $branch && echo "branch required." 1>&2 && exit 1
|
||||
git branch -D $branch
|
||||
git branch -d -r origin/$branch
|
||||
git push origin :$branch
|
||||
git push origin :refs/heads/$branch
|
||||
|
|
|
|||
|
|
@ -2,4 +2,5 @@
|
|||
|
||||
tagname=$1
|
||||
test -z $tagname && echo "tag required." 1>&2 && exit 1
|
||||
git tag -d $tagname && git push origin :refs/tags/$tagname
|
||||
git tag -d $tagname
|
||||
git push origin :refs/tags/$tagname
|
||||
|
|
|
|||
Loading…
Reference in a new issue