Created
November 26, 2024 20:27
-
-
Save theoknock/b50686bddc309a80fef226e5d0534962 to your computer and use it in GitHub Desktop.
ZSH for deleting the existing local repo for an Xcode project, creating a new repo (locally and remotely), and then performing the setup and initial commit
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
cd ~/Desktop / PlanetaryHoursSwift | |
sudo ls -l | |
sudo rm -rf .git | |
sudo ls -a | |
git init | |
git add . | |
git commit -m "Initial commit" | |
git remote add origin https: // github.com/theoknock/PlanetaryHoursSwift.git | |
git push -u origin main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment