Friday, January 5, 2018

GIT usage

git clone http://ift.tt/2CJipdp


  • Get the newest stuff from gitlab repository (sync your local repo with the “origin”):
    • git pull
  • Add it to “staging” in the local repo
    • git add "filename"
  • Commit the change in the local repo
    • git commit -m “whatever was changed”
  • Push changes “up” to gitlab server
    • git push origin master
  • Verify commit shows up in the web interface of the gitlab server
  

No comments:

Post a Comment

Thank you for your comment.