Skip to content

Commit

Permalink
Merge pull request #5459 from unisonweb/cp/visible-push-force
Browse files Browse the repository at this point in the history
  • Loading branch information
aryairani authored Nov 25, 2024
2 parents d7a1edb + 547fdbf commit 287db83
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions unison-cli/src/Unison/CommandLine/InputPatterns.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2021,10 +2021,10 @@ pushForce :: InputPattern
pushForce =
InputPattern
"unsafe.force-push"
[]
I.Hidden
["push.unsafe-force"]
I.Visible
[("remote destination", Optional, remoteNamespaceArg), ("local source", Optional, namespaceOrProjectBranchArg suggestionsConfig)]
(P.wrap "Like `push`, but overwrites any remote namespace.")
(P.wrap "Like `push`, but forcibly overwrites the remote namespace.")
$ fmap
( \sourceTarget ->
Input.PushRemoteBranchI
Expand Down
3 changes: 3 additions & 0 deletions unison-src/transcripts/help.output.md
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,9 @@ scratch/main> help
undo
`undo` reverts the most recent change to the codebase.
unsafe.force-push (or push.unsafe-force)
Like `push`, but forcibly overwrites the remote namespace.
update
Adds everything in the most recently typechecked file to the
namespace, replacing existing definitions having the same
Expand Down

0 comments on commit 287db83

Please sign in to comment.