Skip to content

Instantly share code, notes, and snippets.

@zhangpengGenedock
Created September 6, 2017 06:07
Show Gist options
  • Save zhangpengGenedock/67919e8772875736727941f0f10fa94a to your computer and use it in GitHub Desktop.
Save zhangpengGenedock/67919e8772875736727941f0f10fa94a to your computer and use it in GitHub Desktop.
remove track of file
git rm --cached config-dev.php && git commit -m "config-dev.php"
echo config-dev.php >> .gitignore
git add .gitignore
git commit -m "adding config-dev.php to .gitignore"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment