Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Useful git commands #17

Closed
Bjwebb opened this issue Sep 17, 2015 · 1 comment
Closed

Useful git commands #17

Bjwebb opened this issue Sep 17, 2015 · 1 comment
Assignees

Comments

@Bjwebb
Copy link
Member

Bjwebb commented Sep 17, 2015

Might be useful for me to create a section of these.

For my OCDS work I think I'm going to want to git blame a diff, which lead to me coming across https://github.com/dmnd/git-diff-blame and and http://stackoverflow.com/questions/5098256/git-blame-prior-commits

@Bjwebb
Copy link
Member Author

Bjwebb commented Sep 25, 2015

Also, although we expect our devs to have a good understanding/experience of using git, we may work on repos with other members of the team. Very often these members have some git basics - e.g. cloning, pulling, pushing commiting etc., but there may be some useful intermediate tips we want to collect - e.g. the different ways of identifying a commit - tags, branches, HEAD~2, hash, short hash 0 for use with the git diff etc.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant