Tag Archives: GitHub

GitHub – refresh the git cache.

Git starts tracking repository files and respecting the patterns set in the .gitignore file after you run the git add command. If you later set in the .gitignore file, you want Git to start tracking a file you previously selected to be ignored. Use these commands to refresh the git cache and apply the .gitignore… Read More »

Bash script for GitHub to fix bad commit branch.

One mistake is to have changed in the [master] branch instead of [mymain]. This can be fixed with this bash script:

Hope this help’s !!