Last active
December 14, 2021 12:21
-
-
Save arturocandela/411627d5faa1cb44b6ebba4d8273deb9 to your computer and use it in GitHub Desktop.
Este comando crea un fichero .gitignore a partir de gitignore.io y quita del control de versiones todos los ficheros que concidan con el patron del giigire y hace un nuevo commit
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
git ignore java,intellij,maven,eclipse > .gitignore && git rm -r --cached . && git add . && git commit -m ".gitignore agregado y eliminados los .class" | |
# | |
# Lo he probado en mac y tiene que instalarse gitignore.io en git. yo lo instalé en su momento con el | |
# comando desde la página oficial: | |
# | |
# git config --global alias.ignore '!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}; gi' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment