Last active
December 11, 2019 21:23
-
-
Save arasevic/302e2fe4c5c7c8d73a61784aa076b9df to your computer and use it in GitHub Desktop.
Helpful git commands I can never remember
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
# How to do a rebase the Bill way | |
git fetch | |
git rebase -p origin/branch_you_branched_off_of | |
# initial push to remote off of locally created branch | |
git push --set-upstream origin feature-11076 | |
# command for returning latest tag information | |
git describe --abbrev=0 --tags |
Livetail a file - useful for viewing logs while running an app in staging/prod/etc
tail -f filename
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git describe --abbrev=0 --tags is useful for returning the latest tag.