Last active
June 17, 2025 14:21
-
-
Save markpbaggett/e265e58fb559c531faca338871e01d40 to your computer and use it in GitHub Desktop.
Corina Github Cheat Sheet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you are on main, checkout a new branch. | |
git checkout -b a-new-branch-name-that-has-not-been-used | |
# After you have a branch, you'll do these things: | |
git status # Shows you which files changed | |
git diff # This will show which things in a file changed | |
git add directory/file.ext # Adds a file so it can be committedd | |
git commit -m "What I changed." # Commits a file | |
git push origin the-branch-you-are-on # Look at the thing in red for a hint here. Make sure it doesn't say main or master. | |
# After you have opened a pull request and it has been merged (NOT BEFORE!), you'll need to fetch changes to main and create a new branch: | |
git checkout main | |
git pull | |
# When you are ready to start over, do the first step again: | |
git checkout -b a-new-branch-name-that-has-not-been-used |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When adding files to whisper-reviwer and using the move files utility, do this each time: