-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uploading your project #3
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Step 3: Make the move
Having a project already stored locally enables you to move it to GitHub rather quickly. The following activity provides instructions to move your local project to GitHub using various tools. Select the tool you are most comfortable with and get importing 😄.
⌨️ Activity: Moving your local project
Using the command line
Using the command line
git init
to initialize the directory as a Git repository.git remote add origin https://github.com/LtAirman/github-upload.git
git add .
git commit -m "initializing repository"
git push -u origin main
to push the files you have locally to the remote on GitHub. (You may be asked to log in.)Note: You can also use a password protected SSH key to connect to GitHub. See Connecting to GitHub with SSH in our documentation to learn more.
Using GitHub Desktop
Using GitHub Desktop
GitHub Desktop doesn't allow you to add a new remote for an existing directory, so instead we'll copy the contents of your existing folder to our repo. If you'd like to keep your existing folder, you may want to use the command line or one of the other tools.
Using Visual Studio Code
Using Visual Studio Code
git remote add origin https://github.com/LtAirman/github-upload
Using Atom
Using Atom
- If they are, double check your .gitignore file to make sure they're included or remove them from your directory.
- This is part of the two stage commit. You can use this staging function to create meaningful commits throughout the development process.
git remote add origin https://github.com/LtAirman/github-upload
Using Eclipse
Using Eclipse
Watch below for my response
The text was updated successfully, but these errors were encountered: