You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following snippet should help you, given that you're starting with a fresh repository that does not have any commits yet.
git commit --allow-empty -m 'Initial commit'git push origin main
Upon the completion of the task, here are the expectations:
Only 1 (one) single commit in the main branch.
The commit is supposed not to add (or remove for that matter) any files at all.
There should be 0 (zero) files appearing in the repository at this point.
P.S. It's best to do this task having read the first 3 chapters of the ProGit 2 book from #4.
P.P.S. Fixing an incorrectly created commit would require amending it, or making an interactive rebase. This may imply going through more materials from #4, googling and/or using StackOverflow.
The text was updated successfully, but these errors were encountered:
The following snippet should help you, given that you're starting with a fresh repository that does not have any commits yet.
Upon the completion of the task, here are the expectations:
main
branch.P.S. It's best to do this task having read the first 3 chapters of the ProGit 2 book from #4.
P.P.S. Fixing an incorrectly created commit would require amending it, or making an interactive rebase. This may imply going through more materials from #4, googling and/or using StackOverflow.
The text was updated successfully, but these errors were encountered: