-
Notifications
You must be signed in to change notification settings - Fork 13
GitHub Tips
Valk edited this page Oct 9, 2024
·
1 revision
For example if you accidentally committed a ton of .zip files you can remove them from GitHub with the following command.
git rm --cached **/*.zip
Move your commits to a new branch
git switch -c my-temporary-work
Switch to the main branch
git switch main
Merge your commits from the temporary branch with the main branch
git merge my-temporary-work
Delete temporary branch
git branch -d my-temporary-work
Found information that needs to be updated in the wiki? Or have a suggestion for a new feature? Or maybe you found a bug? Want to contribute but have no idea where to start? Send me a message over Discord, my username is valky5.