Git

This guide series is designed for users of Git who want to know how to be most effective with Git SCM tools. If there is a tip or trick that you would like to contribute, or if you have a question that is not answered here, please feel free to submit a tip, or leave a comment with your question. To receive periodic email updates when new articles and tutorials are posted, please [[Subscribe|subscribe to our newsletter]].

Reset and sync local respository with remote branch

Suffering from a bad merge? Commits out of order? Re-synchronize your local branch with a remote branch.

Restore lost work, with “git reflog” and “git cherry-pick”

Lost some work due to an unruly command? Want to get it back? This git pro-tip will get you back on track in no time.

Leave a Comment




Please note: In order to submit code or special characters, wrap it in

[code lang="xml"][/code]
(for your language) - or your tags will be eaten.

Please note: Comment moderation is enabled and may delay your comment from appearing. There is no need to resubmit your comment.