mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Adding delete-merge-branches, gh-pages, rename-tag and squash manpages
This commit is contained in:
parent
f6498e39f3
commit
82041039a5
26
man/git-delete-merged-branches.md
Normal file
26
man/git-delete-merged-branches.md
Normal file
|
|
@ -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>>
|
||||
40
man/git-gh-pages.md
Normal file
40
man/git-gh-pages.md
Normal file
|
|
@ -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>>
|
||||
52
man/git-rename-tag.md
Normal file
52
man/git-rename-tag.md
Normal file
|
|
@ -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>>
|
||||
43
man/git-squash.md
Normal file
43
man/git-squash.md
Normal file
|
|
@ -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>>
|
||||
Loading…
Reference in a new issue