Socket
Socket
Sign inDemoInstall

extra-git

Package Overview
Dependencies
0
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.15 to 1.0.16

.coveralls.yml

16

man/clear.txt

@@ -13,8 +13,22 @@ git-clear(1) -- Rigorously clean up a repository

OPTIONS
-f, --force
Force the clean, with no warning to the user
-h, --help, ?
Display usage
EXAMPLES
Clears the repo.
Clears the repo, with user confirmation required.
$ git clear
Clears the repo, without user confirmation.
$ git clear -f
AUTHOR

@@ -21,0 +35,0 @@

@@ -23,2 +23,12 @@ git-fork(1) -- Fork a repo on github

Create a fork of a project on GitHub via command line.
A personal access token is required for making the API call to create a fork in GitHub. API Documentation here
Make sure the personal access token has the right OAuth scopes for the repo(s)
Use git config --global --add git-extras.github-personal-access-token
If using multiple accounts, override the global value in the specific repo using git config git-extras.github-personal-access-token
EXAMPLE

@@ -25,0 +35,0 @@

106

man/help.txt
Common utility commands for Git repositories.
abort Abort current git operation.
add-submodule Add submodule to repository.
add-username-remote Adds a remote for the current repository for the given github us
add-username-remote Adds a remote for the current repository for the given GitHub us
ername.

@@ -10,11 +11,14 @@ alias Define, search and show aliases.

archive-file Export the current HEAD of the git repository to an archive.
attic Displays a list of deleted files in your repo. The output is des
igned to be copy and pasted Pass the second field to git show to
display the file contents, or just select the hash without to
see the commit where removal happened.
attic Displays a list of deleted files in your repository. The output
is designed to be copy and pasted Pass the second field to git s
how to display the file contents, or just select the hash withou
t to see the commit where removal happened.
authors Generate authors report.
big-file Show files in the repo larger than a threshold size.
big-file Show files in the repository larger than a threshold size.
branch-name Prints the current branch name in automation-friendly format.
branch-rebaser Kicks off an interactive rebase of all the commits on your branc
h. _Including pushed commits_, so be careful.
branches-that-touch Shows which branches touch files under a path that are remote, u
nmerged, have a commit in the last six months and whose name doe
sn't start with 'enterprise-'.
branches ## Source: git-extra-commands

@@ -26,4 +30,15 @@ browse View the web page for the current repository.

changelog Generate a changelog report.
changes List authors in the repo in descending commit-count order.
changes Symlink to git-authors. List authors in the repository in descen
ding commit-count order.
checkout-by-date Lets you checkout several files at once at the version specified
by a date.
checkout-commit Uses fzf(https//github.com/junegunn/fzf) to checkout a commit, s
howing the commit diff as preview.
checkout-default-branch Checks out the default branch of the origin remote so you don't
have to remember which repositories use master, main or whatever
.
checkout-pr Check out a PR locally.
checkout-preview Uses fzf(https//github.com/junegunn/fzf) to checkout a branch, s
howing what commits diverge between the branches.
children-of Shows the children of a given git commit.
churn Show which files are getting changed most often in the repositor

@@ -38,2 +53,4 @@ y.

comma Adds and commits a file in one command.
commit-browser Uses fzf(https//github.com/junegunn/fzf) to browse commit histor
y.
commit-count ## Source: git-extra-commands

@@ -53,9 +70,14 @@ commits-per-day ## Source: git-extra-commands

mit.
current-branch Prints the name of the current branch, mainly useful in automati
on scripts.
current-branch Prints the name of the current branch with no odd characters or
formatting, mainly useful in automation scripts.
cut-branch Create a new branch pointed at **HEAD** and reset the current br
anch to the head of its tracking branch.
delete-branch Delete branches.
delete-dangling-commits Clean up dangling commits that are not on any branch.
delete-local-merged Delete all local branches that have been merged into **HEAD**.
delete-merged-branches Delete merged branches.
delete-squashed-and-merged-branches Purges all branches that have been squashed and merged to a targ
et branch (defaults to branches merged to master). Requires pygi
thub.
delete-squashed-branches Delete branches that were squashed.
delete-submodule Delete submodules.

@@ -72,9 +94,12 @@ delete-tag Delete tags.

c.
files List the files different between the current branch and REVIEW_B
RANCH, which if unset defaults to the repository's default branc
h.
find-dirty .
flush Compact your reposistory by dropping all reflogs, stashes, and o
ther cruft that may be bloating your pack files.
flush Compact your repository by dropping all reflogs, stashes, and ot
her cruft that may be bloating your pack files.
force-clone overwrite local repositories with clone.
force-mtimes Sets mtimes of all files in the reprository their last change da
te based on git's log. Useful to avoid too new dates after a che
ckout confusing make or rake.
force-mtimes Sets modification times of all files in the repository their las
t change date based on git's log. Useful to avoid too new dates
after a checkout confusing make or rake.
forest Prints a text-based tree visualisation of your repository. Requi

@@ -84,3 +109,15 @@ res Git.pm(https//metacpan.org/release/Git).

fresh-branch Create fresh branches.
functionlog Allows you to get a log of a particular function, not a file.
functionlog Allows you to get a git log of a particular function, not a file
.
fzf-add Use fzf(https//github.com/junegunn/fzf) to select files to add t
o git.
fzf-log-browser Use fzf(https//github.com/junegunn/fzf) to browse the repository
's git log.
fzf-pickaxe-browser Use fzf(https//github.com/junegunn/fzf) to display a git log lis
t that has been filtered with pickaxe(http//www.philandstuff.com
/2014/02/09/git-pickaxe.html) for a search term.
fzf-reflog-browser Use fzf(https//github.com/junegunn/fzf) to browse the repository
's git reflog list that can be filtered by entering a fuzzy term
at the prompt. Navigation up and down the hash list will previe
w the changes of each hash.
gh-pages Create the GitHub Pages branch.

@@ -95,6 +132,6 @@ git Typing git git foo will make git do a git foo instead of complai

history-eraser ## Source: git-extra-commands
history-graph Pretty git log, single line per commit, with branch graphign.
history-graph Pretty git log, single line per commit, with branch graphing.
ignore-io Get sample gitignore file.
ignore Add .gitignore patterns.
ignored Show files being ignored by git in the repo.
ignored Show files being ignored by git in the repository.
improved-merge Sophisticated git merge with integrated CI check and automatic c

@@ -112,6 +149,10 @@ leanup.

locked ls files that have been locked.
ls-branch-files List files changed between a specifed branch and the current bra
nch.
ls-conflicts ## Source: git-extra-commands
ls-object-refs Find references to an object with SHA1 in refs, commits, and tre
es. All of them.
magic Automate add/commit/push routines.
mark-all-resolved ## Source: git-extra-commands
maxpack Compress a repo's pack files as much as possible.
maxpack Compress a repository's pack files as much as possible.
merge-into Merge one branch into another.

@@ -131,2 +172,4 @@ merge-repo Merge two repo histories.

oldest-common-ancestor Finds the oldest common ancestor commit between two branches.
origin-head Prints the name of the origin remote's default branch. Not every
repository uses main or master.
outgoing Show commits that are on the local branch that have not been pus

@@ -160,2 +203,4 @@ hed to the tracking branch.

rebase-work-in-progress ## Source: git-extra-commands
recent Shows information about most recent commit on all local branches
.
recently-checkedout-branches Shows timestamp and name of recently checked-out branches in rev

@@ -181,3 +226,5 @@ erse chronological order.

restore-mtime Change mtime of files based on commit date of last change.
rm-deleted-from-repo Removes files you deleted with rm from the repo for you.
reup Like git pull but show a short and sexy log of changes after mer
ging or rebasing.
rm-deleted-from-repo Removes files you deleted with rm from the repository for you.
root-directory Prints the path to the root of the git repository you're in.

@@ -187,3 +234,3 @@ root show path of root.

rscp ## Source: git-extras
run-command-on-revisions Runs a given command over a range of Git revisions.
run-command-on-revisions Runs a given command over a range of git revisions.
scp Copy files to SSH compatible git-remote.

@@ -200,3 +247,3 @@ sed replace patterns in git-controlled files.

show-unmerged-branches Show unmerged branches.
shrink-repo Shrinks your clone of a git repo.
shrink-repo Shrinks your clone of a git repository.
sp Simple push, single short command to commit, and push. Use -a fl

@@ -209,2 +256,5 @@ ag to add all files to commit.

stashes ## Source: git-extra-commands
stats Displays stats for the files different between the current branc
h and REVIEW_BRANCH, which if unset defaults to the repository's
default branch.
submodule-rm Allows you to remove a submodule easily with git submodule-rm pa

@@ -219,2 +269,4 @@ th/to/submodule.

tag-and-sign Create and sign a new tag.
tag-diff Show the differences between local tags and ones on the remote,
if any.
taglist ## Source: git-extra-commands

@@ -227,5 +279,5 @@ tags ## Source: git-extra-commands

origin/localbranchname*.
trail Show all branching points in the repo's Git history so you can s
ee how to reach commits in the current branch from other branche
s.
trail Show all branching points in the repository's git history so you
can see how to reach commits in the current branch from other b
ranches.
undelete Undeletes a file.

@@ -240,2 +292,4 @@ undo-push Undoes your last push to branch **1** of origin.

up-old ## Source: git-extra-commands
up Like git pull but show a short and sexy log of changes after mer
ging or rebasing.
upstream-sync Fetches *upstream/yourforkname* and rebases it into your local f

@@ -248,4 +302,4 @@ ork, then pushes to your origin remote.

where Shows where a particular commit falls between releases.
whoami Shows what username email you have configured for the repo you'
re in.
whoami Shows what username email you have configured for the repositor
y you're in.
winner Shows what authors have made the most commits, both by number of

@@ -252,0 +306,0 @@ commits and by number of lines changed.

@@ -9,3 +9,4 @@ git-local-commits(1) -- List local commits

Lists commits in the local branch that have not been pushed to origin.
Lists commits in the local branch that have not been pushed to the remote tracked branch.
This requires that HEAD points to a branch which is tracking another branch.

@@ -12,0 +13,0 @@ OPTIONS

@@ -6,3 +6,2 @@ git-psykorebase(1) -- Rebase a branch with a merge commit

git-psykorebase <targetbranch> [<featurebranch>] [--no-ff]
git-psykorebase --continue

@@ -9,0 +8,0 @@

@@ -6,3 +6,2 @@ git-standup(1) -- Recall the commit history

git-standup [-a author] [-m depth] [-d days ago] [-D date format] [-g] [-L] [-f] [-B] [-n number of commits]
git-standup -h

@@ -9,0 +8,0 @@

@@ -5,7 +5,8 @@ git-summary(1) -- Show repository summary

git-summary [--line] [--dedup-by-email] [<committish>]
git-summary [--dedup-by-email] [--no-merges] [<committish>]
git-summary --line [<path>]
DESCRIPTION
Shows a summary of the repository.
Shows a summary of the repository or a path within it.

@@ -18,2 +19,6 @@ OPTIONS

<path>
Summarize only the range of files included in the <path>.
--dedup-by-email

@@ -33,9 +38,13 @@

This option can not be used together with --line.
--no-merges
Exclude merge commits.
--line
Summarize with lines other than commits.
Any <committish> is ignored when --line is specified.
When --line is specified, the last argument is treated as <path>.
This option can not be used together with --dedup-by-email or --no-merges.
EXAMPLES

@@ -86,4 +95,11 @@

The committish is ignored when --line is specified.
Filter with the path:
$ git summary --line bin/
project : git-extras
lines : 4420
authors :
...
AUTHOR

@@ -90,0 +106,0 @@

@@ -5,3 +5,3 @@ git-unlock(1) -- Unlock a file excluded from version control

git-lock <filename>
git-unlock <filename>

@@ -8,0 +8,0 @@ DESCRIPTION

{
"name": "extra-git",
"version": "1.0.15",
"version": "1.0.16",
"description": "Common utility commands for Git repositories.",

@@ -13,2 +13,3 @@ "preferGlobal": true,

"test": "exit",
"build": "node ./build.js",
"deploy": "node ./build.js && ebuild github+publish --publishMin=false --publishBranch=false"

@@ -36,3 +37,5 @@ },

"attic",
"authors",
"big-file",
"branches-that-touch",
"branch-name",

@@ -43,4 +46,10 @@ "branch-rebaser",

"changes",
"checkout-by-date",
"checkout-commit",
"checkout-default-branch",
"checkout-pr",
"checkout-preview",
"children-of",
"churn",
"commit-browser",
"clone-subset",

@@ -53,4 +62,6 @@ "comma",

"cut-branch",
"delete-dangling-commits",
"delete-local-merged",
"delete-merged-branches",
"delete-squashed-and-merged-branches",
"delete-tag",

@@ -61,2 +72,3 @@ "diff-last",

"fetch-prs",
"files",
"find-dirty",

@@ -67,2 +79,6 @@ "flush",

"functionlog",
"fzf-add",
"fzf-log-browser",
"fzf-pickaxe-browser",
"fzf-reflog-browser",
"github-open",

@@ -75,2 +91,3 @@ "gitlab-mr",

"lines",
"ls-branch-files",
"ls-object-refs",

@@ -84,2 +101,3 @@ "maildiff",

"oldest-common-ancestor",
"origin-head",
"outgoing",

@@ -98,10 +116,12 @@ "overwritten",

"rebase-theirs",
"recent",
"recently-checkedout-branches",
"ref-recent",
"rel",
"related",
"remote-default-branch",
"related",
"rename-branches",
"reset-with-fire",
"restore-mtime",
"reup",
"rm-deleted-from-repo",

@@ -115,5 +135,7 @@ "root-directory",

"sr",
"stats",
"submodule-rm",
"switch-branch",
"submodule-rm",
"tag-and-sign",
"tag-diff",
"thanks",

@@ -123,4 +145,4 @@ "track",

"undelete",
"undo-push",
"undo",
"undo-push",
"unpushed",

@@ -143,3 +165,2 @@ "unreleased",

"archive-file",
"authors",
"browse",

@@ -158,2 +179,3 @@ "brv",

"delete-branch",
"delete-squashed-branches",
"delete-submodule",

@@ -205,2 +227,4 @@ "delta",

"touch",
"abort",
"magic",
"unlock",

@@ -216,3 +240,3 @@ "utimes"

"devDependencies": {
"extra-build": "^1.3.31",
"extra-build": "^1.4.5",
"html-entities": "^2.3.2",

@@ -219,0 +243,0 @@ "markdown-to-text": "^0.1.1"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc