Last active
August 29, 2015 14:07
-
-
Save breezhang/b66845470262c0c2c50f to your computer and use it in GitHub Desktop.
use vagrant make linux box
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
git fetch --all | |
git reset --hard origin/master | |
git fetch downloads the latest from remote without trying to merge or rebase anything. Then the git reset resets the master branch to what you just fetched.\ | |
git push -f // push & override | |
Note that this will blow away other people's code. | |
res: | |
http://stackoverflow.com/questions/1125968/force-git-to-overwrite-local-files-on-pull | |
http://stackoverflow.com/questions/1125968/force-git-to-overwrite-local-files-on-pull | |
https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-init |
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
vagrant is interface for all type of vm software (vmbox vm ) | |
https://gorails.com/guides/using-vagrant-for-rails-development so basic sop | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment