Skip to content

Instantly share code, notes, and snippets.

@dhanushkomari
Last active April 28, 2021 11:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dhanushkomari/9d6d556c57d2e5226968b0bc2b8adc8c to your computer and use it in GitHub Desktop.
Save dhanushkomari/9d6d556c57d2e5226968b0bc2b8adc8c to your computer and use it in GitHub Desktop.
Sending or Publishing a Local project_folder into Github
1. Install the git on local pc.
2. Create a github Account
3. Create a github Repository
4. Copy the Repository URL(you have to paste this url in step d. )
5. Open git bash or Command Prompt or Terminal.
6. Change the path to 'project_folder directory'
7. Write the Following commands.
a. git init
b. git add . (or) git add --all
c. git status
d git add remote origin <https://github.com/your_profilename/your_repo_name.git>
e. git remote -v
f. git commit -m "Your Commit message"
g. git push origin master
8. Between the above steps you'll get a github login process, login to github once to proceed.
9. Open github and go for your repository and chcek for your code.
Thank You For Watching My Space.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment