remote branch

git diff origin/master 
to see all the changes that you have committed but not yet pushed

git remote show origin
to show which remote branch is tracked by your local branch
By default, your local branch change will be pushed to 
the remote one with the same name in addition with the prefix "origin/".
e.g. personal_branch -> origin/personal_branch

git log --author="FirstName LastName"
find the commit from a particular person
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