forked from tj/git-extras
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding delete-merge-branches, gh-pages, rename-tag and squash manpages
- Loading branch information
Jesús Espino
committed
Jun 28, 2012
1 parent
f6498e3
commit 8204103
Showing
4 changed files
with
161 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
git-delete-merged-branch(1) -- Delete merged branches | ||
===================================================== | ||
|
||
## SYNOPSIS | ||
|
||
`git-delete-merged-branches` | ||
|
||
## DESCRIPTION | ||
|
||
Deletes all local merged branches. | ||
|
||
## EXAMPLES | ||
|
||
$ git delete-merged-branches | ||
|
||
## AUTHOR | ||
|
||
Written by Jesús Espino <<jespinog@gmail.com>> | ||
|
||
## REPORTING BUGS | ||
|
||
<<http://github.com/visionmedia/git-extras/issues>> | ||
|
||
## SEE ALSO | ||
|
||
<<http://github.com/visionmedia/git-extras>> |
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
git-gh-pages(1) -- Create the GitHub Pages branch | ||
================================================= | ||
|
||
## SYNOPSIS | ||
|
||
`git-gh-pages` | ||
|
||
## DESCRIPTION | ||
|
||
Create the GitHub Pages branch (gh-pages) with an initial dummy index.html file. | ||
|
||
## EXAMPLES | ||
|
||
$ git gh-pages | ||
setting up gh-pages | ||
Removing ... | ||
[gh-pages (root-commit) 94f4b26] Initial commit | ||
1 file changed, 1 insertion(+) | ||
create mode 100644 index.html | ||
Counting objects: 3, done. | ||
Writing objects: 100% (3/3), 232 bytes, done. | ||
Total 3 (delta 0), reused 0 (delta 0) | ||
To git@github.com:myuser/myrepository.git | ||
* [new branch] gh-pages -> gh-pages | ||
Branch gh-pages set up to track remote branch gh-pages from origin. | ||
complete | ||
$ | ||
|
||
|
||
## AUTHOR | ||
|
||
Written by Jesús Espino <<jespinog@gmail.com>> | ||
|
||
## REPORTING BUGS | ||
|
||
<<http://github.com/visionmedia/git-extras/issues>> | ||
|
||
## SEE ALSO | ||
|
||
<<http://github.com/visionmedia/git-extras>> |
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
git-rename-tag(1) -- Rename a tag | ||
================================= | ||
|
||
## SYNOPSIS | ||
|
||
`git-rename-tag` <old-tag-name> <new-tag-name> | ||
|
||
## DESCRIPTION | ||
|
||
Rename a tag (locally and remotely) | ||
|
||
## OPTIONS | ||
|
||
<old-tag-name> | ||
|
||
The name of the tag you want to rename. | ||
|
||
<new-tag-name> | ||
|
||
The new name of the tag. | ||
|
||
## EXAMPLES | ||
|
||
$ git tag test | ||
$ git push --tags | ||
Total 0 (delta 0), reused 0 (delta 0) | ||
To git@myserver.com:myuser/myrepository.git | ||
* [new tag] test -> test | ||
$ git tag | ||
test | ||
$ git rename-tag test test2 | ||
Deleted tag 'test' (was 1111111) | ||
Total 0 (delta 0), reused 0 (delta 0) | ||
To git@myserver.com:myuser/myrepository.git | ||
* [new tag] test2 -> test2 | ||
remote: warning: Deleting a non-existent ref. | ||
To git@myserver.com:myuser/myrepository.git | ||
- [deleted] refs/tag/test | ||
$ git tag | ||
test2 | ||
|
||
## AUTHOR | ||
|
||
Written by Jesús Espino <<jespinog@gmail.com>> | ||
|
||
## REPORTING BUGS | ||
|
||
<<http://github.com/visionmedia/git-extras/issues>> | ||
|
||
## SEE ALSO | ||
|
||
<<http://github.com/visionmedia/git-extras>> |
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
git-squash(1) -- Import changes form a branch | ||
============================================= | ||
|
||
## SYNOPSIS | ||
|
||
`git-squash` <source-branch> [<commit-message>] | ||
|
||
## DESCRIPTION | ||
|
||
Produce the working tree and index state as if a real merge happened without | ||
the commit or merge marks. | ||
|
||
## OPTIONS | ||
|
||
<source-branch> | ||
|
||
Branch to squash on the actual branch. | ||
|
||
<commit-message> | ||
|
||
If commit-message is given, commit the squash result and delete the source-branch. | ||
|
||
## EXAMPLES | ||
|
||
$ git squash my-other-branch | ||
Updating a2740f5..533b19c | ||
Fast-forward | ||
Squash commit -- not updating HEAD | ||
my-changed-file | 1 + | ||
1 file changed, 1 insertion(+) | ||
$ git commit -m "New commit without a real merge" | ||
|
||
## AUTHOR | ||
|
||
Written by Jesús Espino <<jespinog@gmail.com>> | ||
|
||
## REPORTING BUGS | ||
|
||
<<http://github.com/visionmedia/git-extras/issues>> | ||
|
||
## SEE ALSO | ||
|
||
<<http://github.com/visionmedia/git-extras>> |