[GitHub] What if you push the wrong file(dir) to github?
CM(ConfigurationManagement)/github 2016. 8. 25. 11:09What if you push the wrong file(dir) to github?
1. Remove
- If you have a wrong file(dir) in your remote repository
1) Move the directory
2) Enter the git command
- git rm -r --cached wrong
- git commit -m "remove a wrong dir"
- git push origin master
'CM(ConfigurationManagement) > github' 카테고리의 다른 글
[GItHub] 깃허브(github)로 블로그 만들기 (0) | 2016.12.08 |
---|---|
[GitHub] PullRequest Handling (0) | 2016.06.06 |
[GitHub]How to send a Pull Request (0) | 2016.06.05 |
[gitHub] Issue (0) | 2016.05.19 |
[GitHub] 2. Info about github (0) | 2016.05.15 |