From 82041039a5d1a1d73aaf406f910069bac58852da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Thu, 28 Jun 2012 21:14:17 +0200 Subject: [PATCH] Adding delete-merge-branches, gh-pages, rename-tag and squash manpages --- man/git-delete-merged-branches.md | 26 ++++++++++++++++ man/git-gh-pages.md | 40 ++++++++++++++++++++++++ man/git-rename-tag.md | 52 +++++++++++++++++++++++++++++++ man/git-squash.md | 43 +++++++++++++++++++++++++ 4 files changed, 161 insertions(+) create mode 100644 man/git-delete-merged-branches.md create mode 100644 man/git-gh-pages.md create mode 100644 man/git-rename-tag.md create mode 100644 man/git-squash.md diff --git a/man/git-delete-merged-branches.md b/man/git-delete-merged-branches.md new file mode 100644 index 0000000..e4a4ea1 --- /dev/null +++ b/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 <> + +## REPORTING BUGS + +<> + +## SEE ALSO + +<> diff --git a/man/git-gh-pages.md b/man/git-gh-pages.md new file mode 100644 index 0000000..d460dac --- /dev/null +++ b/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 <> + +## REPORTING BUGS + +<> + +## SEE ALSO + +<> diff --git a/man/git-rename-tag.md b/man/git-rename-tag.md new file mode 100644 index 0000000..a9fe85a --- /dev/null +++ b/man/git-rename-tag.md @@ -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 <> + +## REPORTING BUGS + +<> + +## SEE ALSO + +<> diff --git a/man/git-squash.md b/man/git-squash.md new file mode 100644 index 0000000..1550ad1 --- /dev/null +++ b/man/git-squash.md @@ -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 <> + +## REPORTING BUGS + +<> + +## SEE ALSO + +<>