Skip to content

Instantly share code, notes, and snippets.

@donpdonp
Created May 17, 2019 15:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save donpdonp/5369be9d165e4410607567d7aeafe323 to your computer and use it in GitHub Desktop.
Save donpdonp/5369be9d165e4410607567d7aeafe323 to your computer and use it in GitHub Desktop.
donp@jewel zig $ pijul checkout leftover
Current branch: "leftover"
donp@jewel zig $ echo '//extra line' >> build.zig
donp@jewel zig $ pijul status
On branch leftover
Changes not yet recorded:
(use "pijul record ..." to record a new patch)
modified: build.zig
donp@jewel zig $ pijul record
build.zig
From line 51
+ //extra line
Shall I record this change? (1/1) [ynkad?] y
What is the name of this patch? leftover extra line
Recorded patch 7v5sGC2PVFhBAajKEMgdf89eZPEQJxVpcJWrmrgUAi2fc5dwED3b8PWor5aDFayYjJNLcyXztU21A9NkYveNzrSi
donp@jewel zig $ pijul checkout master
Current branch: "master"
donp@jewel zig $ pijul pull --from-branch=leftover
No new patches to pull.
donp@jewel zig $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment