Git Tutorial

  • Git
  • here

Git command

Introducing the Git command.

  • git init --Initialize Git repository
  • git log --View the contents of the commit log
  • git status --Check if commit is ready
  • git add --put the file ready for commit
  • git commit --commit
  • git branch --List branch / Create branch
  • git checkout --branch change
  • git diff --Display difference
  • git reset --move commit position
  • git fetch --Get remote repository information
  • git remote --Add / Change / Delete Remote Repository
  • git push --Transfer the contents of the local repository to the remote repository
  • git pull --Transfer and merge the contents of the remote repository to the local repository
  • git tag --tagging
  • git revert --Commit with undo changes
  • git merge --merge
  • git rebase --Modify and combine multiple commits

Associated Information

Perl Club