question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Any commits during Publishing/Pushing get pushed too

See original GitHub issue

So if you make a commit while another commit is being published to dotcom or Enterprise, that second commit is pushed up along with the first one. When the user clicks the Publish button, the number badge is displayed with the amount of commits to be pushed, however, the user might be unaware that if they make a commit during the publishing process, that it would be immediately pushed, too.

Perhaps we could temporarily disable the commit button until the publishing process has reached a certain point?

v0.6.1, OSX 10.11.5

Reproduce (Pushing):

  • For a currently published repo, add multiple changed files to the queue
  • Commit one so the published badge number increments
  • Now prep another file for commit without hitting the Commit to X button
  • Click the Publish button and immediately after click the Commit button
  • Both changes are pushed up to the repo

Expected behavior: the second commit would be separate from the first, prompting the user to publish them separately. On Step 4 above, if the user waits a second or two, the expected behavior holds true.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
shiftkeycommented, Aug 31, 2017

@tierninho can we update this issue to differentiate between the publish flow (the publish dialog which takes a repository without any remotes and puts it on GitHub) and push (the repository has a remote, and a long-running operation like pushing new commits you could do other work)? You mention that this repository is published, which should mean the button is for pushing.

0reactions
mido1966commented, May 22, 2019

Thank you very one es ok Dankeschön alles ok

‏‫من الـ iPhone الخاص بي‬

‫في 18‏/03‏/2019 الساعة 10:30 م، كتب/كتبت ‏Tiernan L ‏<notifications@github.commailto:notifications@github.com>:‬

Closed #2005https://github.com/desktop/desktop/issues/2005.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/desktop/desktop/issues/2005#event-2211805118, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AsxK37yGr00JgriyaEvAiDXNkBnzbVpEks5vYAVggaJpZM4N6ODL.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JGit - Re-order/remove commits in Master branch before ...
All commits that are not pushed to the remote production ... The expected production commits after the push should be c1-c4 but the...
Read more >
The Git/GitHub Questions, Answers and Howto Thread
2. If your commits are not 'nice' enough for publishing you do an interactive rebase and beautify them up before publishing (pushing) them...
Read more >
git-buildpackage: gbp-push fails when there is no upstream ...
One way to work around this would be to check if the commit has already been pushed. This should be doable with: git...
Read more >
Book Publishing: Pushing Profit with Digital Technology
Today, digital production techniques make it possible to publish books in quantities of one or even several hundred. The new digital model ...
Read more >
LEAKED! Publisher Reveals How Authors Get Book Deals
Our NEW book marketing course: https:// publishingpush.com/book-marketing/A traditional publishing book deal can be hard to get.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found