Skip to content

Commit

Permalink
Adding delete-merge-branches, gh-pages, rename-tag and squash manpages
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesús Espino committed Jun 28, 2012
1 parent f6498e3 commit 8204103
Show file tree
Hide file tree
Showing 4 changed files with 161 additions and 0 deletions.
26 changes: 26 additions & 0 deletions man/git-delete-merged-branches.md
@@ -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 &lt;<jespinog@gmail.com>&gt;

## REPORTING BUGS

&lt;<http://github.com/visionmedia/git-extras/issues>&gt;

## SEE ALSO

&lt;<http://github.com/visionmedia/git-extras>&gt;
40 changes: 40 additions & 0 deletions man/git-gh-pages.md
@@ -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 &lt;<jespinog@gmail.com>&gt;

## REPORTING BUGS

&lt;<http://github.com/visionmedia/git-extras/issues>&gt;

## SEE ALSO

&lt;<http://github.com/visionmedia/git-extras>&gt;
52 changes: 52 additions & 0 deletions man/git-rename-tag.md
@@ -0,0 +1,52 @@
git-rename-tag(1) -- Rename a tag
=================================

## SYNOPSIS

`git-rename-tag` &lt;old-tag-name&gt; &lt;new-tag-name&gt;

## DESCRIPTION

Rename a tag (locally and remotely)

## OPTIONS

&lt;old-tag-name&gt;

The name of the tag you want to rename.

&lt;new-tag-name&gt;

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 &lt;<jespinog@gmail.com>&gt;

## REPORTING BUGS

&lt;<http://github.com/visionmedia/git-extras/issues>&gt;

## SEE ALSO

&lt;<http://github.com/visionmedia/git-extras>&gt;
43 changes: 43 additions & 0 deletions man/git-squash.md
@@ -0,0 +1,43 @@
git-squash(1) -- Import changes form a branch
=============================================

## SYNOPSIS

`git-squash` &lt;source-branch&gt; [&lt;commit-message&gt;]

## DESCRIPTION

Produce the working tree and index state as if a real merge happened without
the commit or merge marks.

## OPTIONS

&lt;source-branch&gt;

Branch to squash on the actual branch.

&lt;commit-message&gt;

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 &lt;<jespinog@gmail.com>&gt;

## REPORTING BUGS

&lt;<http://github.com/visionmedia/git-extras/issues>&gt;

## SEE ALSO

&lt;<http://github.com/visionmedia/git-extras>&gt;

0 comments on commit 8204103

Please sign in to comment.