This guide was created with Scribe in 22 seconds. Sign in and create your own!
How to Push a Folder to GitHub
|
0 step |
22 seconds
To get started, open "Terminal" via your Dock or Applications
Zoom Saved
2
Navigate to your repo and use "git status" to check for missing files. As we can see here, our main branch is behind our working branch by two commits. We need to "push" changes.
Zoom Saved
3
Type "git add -A" and hit enter. This will add your folder and any new files to the staging area.
Zoom Saved
4
Type "git commit -m "commit message"" and hit enter to give your commit a description.
Zoom Saved
5
Type "git push origin main" and hit enter. You may have to enter your password. Git will automatically push your commit, including any new folders and files, to GitHub.
Zoom Saved
Was this Scribe helpful? Save this document for future reference.
Save for Later
Have something to say?Create an account to leave messages for the author to see!Create an account
Feedback
This Scribe is in tip-top shape!Leave feedback if there are any issues with this Scribe