Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions Commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ project : git-extras

## git line-summary

WARNING: git line-summary has been replaced by git summary --line and will be removed in a future release.
WARNING: git line-summary has been replaced by git summary --line and will be removed in a future release.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, looks like atom removed a load of unnecessary white space when I saved. Happy to split this out into a separate commit (or just remove it) if you want.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine.


## git effort

Expand All @@ -215,7 +215,7 @@ $ git effort --above 5
```

If you wish to see only the commits in the last month you may use `--since` (it supports the same syntax like `git log --since`):

```
$ git effort --since='last month'
```
Expand Down Expand Up @@ -319,7 +319,7 @@ Does the following:
- forks the repo (prompts for github username and pass)
- clones the repo into the current directory
- adds the original repo as a remote so can track upstream changes
- all remotes refs use git over ssh
- all remotes refs use git over ssh if configured, otherwise https will be used


```Shell
Expand Down Expand Up @@ -427,7 +427,7 @@ To show just the global or just the local file's contents, you can use the follo

* `-g` or `--global` to show just the global file
* `-l` or `--local` to show just the local file

```bash
$ git ignore -g
Global gitignore: /Users/foo/.gitignore_global
Expand Down Expand Up @@ -462,7 +462,7 @@ $ git ignore-io vim
.netrwhist
*~
```

To export it to `.gitignore` file you can use the following options:

* `-a` or `--append` to append the result to `.gitignore`
Expand All @@ -476,7 +476,7 @@ For efficiency, `git ignore-io` store all available types at `~/.gi_list`.
To list all the available types:

* `-l` or `-L` : These two options will show the list in different format. Just try it.

You can also search type from the list by:

* `-s <word>` or `--search <word>`
Expand Down Expand Up @@ -804,7 +804,7 @@ Set up a git repository (if one doesn't exist), add all files, and make an initi

A convenient way to copy files from the current working tree to the working directory of a remote repository. If a `<commits>...` is provided, only files that has changed within the commit range will be copied.

Internally this script uses `rsync` and not `scp` as the name suggests.
Internally this script uses `rsync` and not `scp` as the name suggests.

`git-rscp` - The reverse of `git-scp`. Copies specific files from the working directory of a remote repository to the current working directory.

Expand Down Expand Up @@ -1078,7 +1078,7 @@ Create pull request via commandline.

## git rebase-patch

Given you have a patch that doesn´t apply to the current HEAD, but you know it applied to some commit in the past,
Given you have a patch that doesn´t apply to the current HEAD, but you know it applied to some commit in the past,
`git rebase-patch` will help you find that commit and do a rebase.

For example,
Expand Down Expand Up @@ -1108,4 +1108,3 @@ Sync local branch with origin/master
```bash
$ git sync origin master
```