-
-
Save cerdman/17fc95b7e01bf072f464 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
| //stops all files in root directory from being tracked in git | |
| git rm --cached . -r | |
| //if you need to modify .gitignore, or create it again because it disappeared, do it before the next command | |
| //tracks all files except those in .gitignore | |
| git add . | |
| //commit | |
| git commit -m 'commit message' | |
| //push | |
| git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment