Skip to content

Instantly share code, notes, and snippets.

@josemariagarcia95
Last active July 17, 2019 11:41
Show Gist options
  • Save josemariagarcia95/e559715a93c922d9744caf7a2f74ac05 to your computer and use it in GitHub Desktop.
Save josemariagarcia95/e559715a93c922d9744caf7a2f74ac05 to your computer and use it in GitHub Desktop.
Nice git commands
# 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