Git Access

 

Clone a git master branch

git clone https://github.com/username/gitname.git

Sync remote git

git pull

Add new / edit file to commit & push

git add folder/newfile
git add folder/editfile
git commit -m "commit message"
git status

git push origin master

Check status and version

git status
git remote -v

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s