Created
January 29, 2019 12:59
-
-
Save SuperShinyEyes/f029b379fda7cfad7deab4f314005582 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#---------------------------------------------------------- | |
# Remove local uncommited changes | |
# https://docs.gitlab.com/ee/topics/git/numerous_undo_possibilities_in_git/ | |
git reset --hard | |
#---------------------------------------------------------- | |
# Fetch | |
# https://www.atlassian.com/git/tutorials/syncing/git-fetch | |
git fetch origin master | |
# To see what commits have been added to the upstream master, you can run a git log using origin/master as a filter: | |
git log --oneline master..origin/master | |
git checkout master | |
git log origin/master | |
git merge origin/master | |
#---------------------------------------------------------- | |
# Git LFS | |
git init | |
git lfs install | |
git lfs track '*.mp4' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment