p:: CLI
gitignore.io - Create Useful .gitignore Files For Your Project
git pushall
Push to all remotes
How to Squash Commits in Git
How to Squash Commits in Git | Learn Version Control with Git
To “squash” in Git means to combine multiple commits into one. You can do this at any point in time (by using Git’s “Interactive Rebase” feature), though it is most often done when merging branches.
If you mark one or more lines as “squash”, they will be combined with the one above.
After entering a commit message for the new, combining commit, the Interactive Rebase is completed - and the three old commits have been squashed into one.
Undo last commit
To get the latest commit of your repository
Applying .gitignore to committed files
git - Applying .gitignore to committed files - Stack Overflow
- Edit
.gitignore
to match the file you want to ignore git rm --cached /path/to/file