Git Basic Commands

·

1 min read

  • git clone gitlab.com/well/example.git
  • git checkout develop
  • git add . - Add all changes to stage
  • git status - Check the status of you local repo
  • git commit - m "You message"
  • git checkout -b branchName - Create a branch, move your changes and check out it.
  • git push origin HEAD - Push your branch
  • git rebase --abort
  • git merge --abort
  • git pull