Jujutsu: Bookmark

To create a new bookmark:

jj bookmark create <bookmark>		# will default to -r@
jj b c <bookmark>					# shorthand
jj b c <bookmark> -r<revset>		# bookmarking different revset

To push bookmark to remote:

jj git push --bookmark <bookmark>			# pushing bookmark
jj git push -b <bookmark>					# shorthand for command above
jj git push -b <bookmark> --remote <remote>	# pushing bookmark to specific remote
jj git push -c <revset>						# pushing revset without naming bookmark, bookmark name is created automatically
jj git push --named <bookmmark>=<revset>	# pushing revset with new bookmark

To get remote list:

jj git remote list

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *