Skip to content

Instantly share code, notes, and snippets.

@stfwn
Created July 26, 2019 10:23
Show Gist options
  • Save stfwn/685f765e147e0154ddb5fb9616fbfeb2 to your computer and use it in GitHub Desktop.
Save stfwn/685f765e147e0154ddb5fb9616fbfeb2 to your computer and use it in GitHub Desktop.
# This pulls, overwrites the previous commit with the newly appended text and then pushes.
working-copy://x-callback-url/chain?key=...&repo=...&command=pull&command=write&text=...&path=...&mode=append&command=commit&message=...&command=push
# This pulls, correctly adds the new commit to the existing commit tree and then pushes.
working-copy://x-callback-url/chain?key=...&repo=...&command=pull&command=write&mode=append&text=...&path=...&command=commit&message=...&command=push
# The only difference is the positioning of the writing mode variable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment