Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple pages: add homepages #2660

Merged
merged 18 commits into from
Jan 30, 2019
Prev Previous commit
Next Next commit
git*: add homepage
principis authored and agnivade committed Jan 30, 2019
commit 71074c7f85b5d2d5b485370385b151d55089b5f5
1 change: 1 addition & 0 deletions pages/common/git-add.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git add

> Adds changed files to the index.
> Homepage: <https://git-scm.com/docs/git-add>.

- Add a file to the index:

1 change: 1 addition & 0 deletions pages/common/git-am.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@

> Apply patch files. Useful when receiving commits via email.
> See also `git format-patch`, which can generate patch files.
> Homepage: <https://git-scm.com/docs/git-am>.

- Apply a patch file:

1 change: 1 addition & 0 deletions pages/common/git-bisect.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@

> Use binary search to find the commit that introduced a bug.
> Git automatically jumps back and forth in the commit graph to progressively narrow down the faulty commit.
> Homepage: <https://git-scm.com/docs/git-bisect>.

- Start a bisect session on a commit range bounded by a known buggy commit, and a known clean (typically older) one:

1 change: 1 addition & 0 deletions pages/common/git-blame.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git blame

> Show commit hash and last author on each line of a file.
> Homepage: <https://git-scm.com/docs/git-blame>.

- Print file with author name and commit hash on each line:

1 change: 1 addition & 0 deletions pages/common/git-branch.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git branch

> Main git command for working with branches.
> Homepage: <https://git-scm.com/docs/git-branch>.

- List local branches. The current branch is highlighted by `*`:

1 change: 1 addition & 0 deletions pages/common/git-checkout.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git checkout

> Checkout a branch or paths to the working tree.
> Homepage: <https://git-scm.com/docs/git-checkout>.

- Create and switch to a new branch:

1 change: 1 addition & 0 deletions pages/common/git-cherry-pick.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@

> Apply the changes introduced by existing commits to the current branch.
> To apply changes to another branch, first use git-checkout to switch to the desired branch.
> Homepage: <https://git-scm.com/docs/git-cherry-pick>.

- Apply a commit to the current branch:

1 change: 1 addition & 0 deletions pages/common/git-clean.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git clean

> Remove untracked files from the working tree.
> Homepage: <https://git-scm.com/docs/git-clean>.

- Delete files that are not tracked by git:

1 change: 1 addition & 0 deletions pages/common/git-clone.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git clone

> Clone an existing repository.
> Homepage: <https://git-scm.com/docs/git-clone>.

- Clone an existing repository:

1 change: 1 addition & 0 deletions pages/common/git-commit.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git commit

> Commit files to the repository.
> Homepage: <https://git-scm.com/docs/git-commit>.

- Commit staged files to the repository with a message:

1 change: 1 addition & 0 deletions pages/common/git-config.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@

> Manage custom configuration options for git repositories.
> These configurations can be local (for the current repository) or global (for the current user).
> Homepage: <https://git-scm.com/docs/git-config>.

- List only local configuration entries (stored in `.git/config` in the current repository):

1 change: 1 addition & 0 deletions pages/common/git-diff.md
Original file line number Diff line number Diff line change
@@ -29,6 +29,7 @@
- Create a patch file:

`git diff > {{target_file}}.patch`
> Homepage: <https://git-scm.com/docs/git-diff>.

- Compare a single file between two branches or commits:

1 change: 1 addition & 0 deletions pages/common/git-fetch.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git fetch

> Download objects and refs from a remote repository.
> Homepage: <https://git-scm.com/docs/git-fetch>.

- Fetch the latest changes from the default remote upstream repository (if set):

1 change: 1 addition & 0 deletions pages/common/git-format-patch.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@

> Prepare .patch files. Useful when emailing commits elsewhere.
> See also `git am`, which can apply generated .patch files.
> Homepage: <https://git-scm.com/docs/git-format-patch>.

- Create an auto-named .patch file for all the unpushed commits:

1 change: 1 addition & 0 deletions pages/common/git-gc.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git gc

> Optimise the local repository by cleaning unnecessary files.
> Homepage: <https://git-scm.com/docs/git-gc>.

- Optimise the repository:

1 change: 1 addition & 0 deletions pages/common/git-imerge.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@

> Perform a merge or rebase between two git branches incrementally.
> Conflicts between branches are tracked down to pairs of individual commits, to simplify conflict resolution.
> Homepage: <https://github.com/mhagger/git-imerge>.

- Start imerge-based rebase (checkout the branch to be rebased, first):

1 change: 1 addition & 0 deletions pages/common/git-init.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git init

> Initializes a new local Git repository.
> Homepage: <https://git-scm.com/docs/git-init>.

- Initialize a new local repository:

1 change: 1 addition & 0 deletions pages/common/git-log.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git log

> Show a history of commits.
> Homepage: <https://git-scm.com/docs/git-log>.

- Show the sequence of commits starting from the current one, in reverse chronological order:

1 change: 1 addition & 0 deletions pages/common/git-merge.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git merge

> Merge branches.
> Homepage: <https://git-scm.com/docs/git-merge>.

- Merge a branch with your current branch:

1 change: 1 addition & 0 deletions pages/common/git-mv.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git mv

> Move or rename files and update the git index.
> Homepage: <https://git-scm.com/docs/git-mv>.

- Move file inside the repo and add the movement to the next commit:

1 change: 1 addition & 0 deletions pages/common/git-pull.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git pull

> Fetch branch from a remote repository and merge it to local repository.
> Homepage: <https://git-scm.com/docs/git-pull>.

- Download changes from default remote repository and merge it:

1 change: 1 addition & 0 deletions pages/common/git-push.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git push

> Push commits to a remote repository.
> Homepage: <https://git-scm.com/docs/git-push>.

- Send local changes in the current branch to its remote counterpart:

1 change: 1 addition & 0 deletions pages/common/git-rebase.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@

> Reapply commits from one branch on top of another branch.
> Commonly used to "move" an entire branch to another base, creating copies of the commits in the new location.
> Homepage: <https://git-scm.com/docs/git-rebase>.

- Rebase the current branch on top of the master branch:

1 change: 1 addition & 0 deletions pages/common/git-reflog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git reflog

> Show when the reference logs were updated in local repository.
> Homepage: <https://git-scm.com/docs/git-reflog>.

- View reflog:

1 change: 1 addition & 0 deletions pages/common/git-remote.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git remote

> Manage set of tracked repositories ("remotes").
> Homepage: <https://git-scm.com/docs/git-remote>.

- Show a list of existing remotes, their names and URL:

1 change: 1 addition & 0 deletions pages/common/git-reset.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@

> Undo commits or unstage changes, by resetting the current git HEAD to the specified state.
> If a path is passed, it works as "unstage"; if a commit hash or branch is passed, it works as "uncommit".
> Homepage: <https://git-scm.com/docs/git-reset>.

- Unstage everything:

1 change: 1 addition & 0 deletions pages/common/git-rm.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git rm

> Remove files from repository index and local filesystem.
> Homepage: <https://git-scm.com/docs/git-rm>.

- Remove file from repository index and filesystem:

1 change: 1 addition & 0 deletions pages/common/git-shortlog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git shortlog

> Summarizes the `git log` output.
> Homepage: <https://git-scm.com/docs/git-shortlog>.

- View a summary of all the commits made, grouped alphabetically by author name:

1 change: 1 addition & 0 deletions pages/common/git-show.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git show

> Show various types of git objects (commits, tags, etc.).
> Homepage: <https://git-scm.com/docs/git-show>.

- Show information about the latest commit (message, changes, and other metadata):

1 change: 1 addition & 0 deletions pages/common/git-sizer.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git sizer

> Computes various Git repository size metrics and alerts you to any that might cause problems or inconvenience.
> Homepage: <https://github.com/github/git-sizer>.

- Report only statistics that have a level of concern greater than 0:

1 change: 1 addition & 0 deletions pages/common/git-stash.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git stash

> Stash local Git changes in a temporary area.
> Homepage: <https://git-scm.com/docs/git-stash>.

- Stash current changes, except new (untracked) files:

1 change: 1 addition & 0 deletions pages/common/git-status.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git status

> Show the index (changed files).
> Homepage: <https://git-scm.com/docs/git-status>.

- Show changed files which are not yet added for commit:

1 change: 1 addition & 0 deletions pages/common/git-submodule.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git submodule

> Inspects, updates and manages submodules.
> Homepage: <https://git-scm.com/docs/git-submodule>.

- Install a repository's specified submodules:

1 change: 1 addition & 0 deletions pages/common/git-svn.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git svn

> Bidirectional operation between a Subversion repository and Git.
> Homepage: <https://git-scm.com/docs/git-svn>.

- Clone an SVN repository:

1 change: 1 addition & 0 deletions pages/common/git-tag.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@

> Create, list, delete or verify tags.
> A tag is a static reference to a specific commit.
> Homepage: <https://git-scm.com/docs/git-tag>.

- List all tags:

1 change: 1 addition & 0 deletions pages/common/git-worktree.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# git worktree

> Manage multiple working trees attached to the same repository.
> Homepage: <https://git-scm.com/docs/git-worktree>.

- Create a new folder with the specified branch checked out into it:

2 changes: 2 additions & 0 deletions pages/common/gitk.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# gitk

> A graphical git repository browser.
> Homepage: <https://git-scm.com/docs/gitk>.
> Homepage: <https://git-scm.com/docs/gitk>.

- Show the repository browser for the current git repository:

1 change: 1 addition & 0 deletions pages/common/gitsome.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@

> A terminal-based interface for GitHub, accessed via the `gh` command.
> It also provides menu-style autocomplete suggestions for `git` commands.
> Homepage: <https://github.com/donnemartin/gitsome>.

- Enter the gitsome shell (optional), to enable autocompletion and interactive help for git (and gh) commands: