Last active
July 17, 2019 11:41
-
-
Save josemariagarcia95/e559715a93c922d9744caf7a2f74ac05 to your computer and use it in GitHub Desktop.
Nice git commands
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
# Created a repository with a gitignore and a LICENSE file. | |
# Had already a gitignore in local repository in my PC | |
# After the git init and git add remote, use this command (check flag) to pull stuff from Github so I could fix | |
# merge problems afterwards | |
git pull --allow-unrelated-histories |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment