Skip to content

Latest commit

 

History

History
38 lines (20 loc) · 752 Bytes

README.md

File metadata and controls

38 lines (20 loc) · 752 Bytes

Installation

Linux/Mac OS

Clone this repository and run ./install.sh

Commands

  • minigit init <name> <host>

  • minigit commit <message>

  • minigit push

  • minigit pull

  • minigit log - see all commits.

  • minigit checkout -b <name> - switch to another branch.

  • minigit checkout <hash> - switch to another commit.

  • minigit diff <commitHash> - compares commit and its ancestor commit and diplays changes.

  • minigit ignore fileRelativePath

  • minigit comment <commitHash> <fileName> <line> <message>

  • minigit branch -a - see all branches.

  • minigit branch - see current branch.

  • minigit branch <name> - create new branch.

  • minigit add <file names separated by ','>

  • minigit add . - add all files.

  • minigit status