Can JJ.exe be used as a portable application? #204
-
Hi, My life is on a USB stick and I don't have admin rights at work (UK Hospital - Windows 10). As a hobby programmer I do not want to install git and fight with paths/drive letters or give it 47MB. JJ as a single file application is very attractive. Many thanks for supplying binaries and please keep the native backend. I worked through the Tutorial:
How do I push my changes back to GitHub?
I am hoping for a really simple clone/pull/push workflow to get me started with GitHub. Sorry if this is a trivial noob question. Kind Regards Gavin Holt |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Yes, that's not going away. I really don't recommend it for anything other than experiments at this point, though. It should work fine for small projects, but if you want a format that's going to be unchanged next year, you should use the git backend.
Git requires a branch, and the
Interesting. What source control system have you used so far? I thought everyone used Git these days. |
Beta Was this translation helpful? Give feedback.
-
Ah, now it makes sense that you have not used Git.
That indicates a problem with authentication, as you seem to have guessed. jj currently only supports password-less SSH keys and |
Beta Was this translation helpful? Give feedback.
Yes, that's not going away. I really don't recommend it for anything other than experiments at this point, though. It should work fine for small projects, but if you want a format that's going to be unchanged next year, you should use the git backend.
Git requires a branch, and the
jj git push
command doesn't currently have a way of creating that branch on the fly. Instead, you'll have to dojj branch <branch name> -r <commit where it should go, typically "@-" for the parent commit>
. It's possible that<branch name>
ismain
ormaster
in your case, if this is your own repo with a single branch