git Quick Reference

Pull Code from a Repository
    git clone http://{server/repository.git

Add Files to Local Repository
    git add *

Status of Local Files
    git status

Commit Changes Locally
    git commit -m "Adding new files"

Commit Change to Remote Main Branch
    git push origin master

Refresh Local Files in Case Other Updates Took Place
    git pull origin master

Creating a development branch
    git checkout -b develop origin

Push new branch back to the server
    git push -u origin develop

 

An excellent and more detailed quick reference guide is located here and cheatsheets here.

A great article on managing versions and releases is here

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *