Created
April 20, 2020 07:44
-
-
Save DalyaG/f67bb68d5615201237dd0671bbc8aab5 to your computer and use it in GitHub Desktop.
get git data from terminal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
path/to/project$ git rev-parse --abbrev-ref HEAD | |
my_branch | |
path/to/project$ git describe --always | |
ed7a91b | |
path/to/project$ git diff | |
<...> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment