HomeToolsAbout a20k

Chaining

Chaining Git Commands

command_1 && command_2
  • if the 1st command successfully executes, then execute the next command, else do nothing
command_1 & command_2
  • execute all chained commands regardless of success of prior command
command_1 || command_2
  • execute next command if 1st one failed
© VincentVanKoh