Skip to main content

githelp

githelp | git

suggests the Sapling equivalent of the given git command

Usage: sl githelp -- $COMMAND

Example:

$ sl git -- checkout my_file.txt baef104

sl revert -r my_file.txt baef104

The translation is best effort, and if an unknown command or parameter combination is detected, it simply returns an error.