Last active
May 29, 2021 02:37
-
-
Save mkushal10/49dc9ee033b04f6690049a90eb5fcae1 to your computer and use it in GitHub Desktop.
This file contains 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
Step-1: Create a repository on the GitHub | |
Step-2: Go the the project folder and run command prompt | |
Step-3: Insert --> git init | |
Step-4: Insert --> git add . | |
Step-5: Insert --> git commit -m "name of commit" | |
Step-6: Insert --> git branch -M main | |
Step-7: Insert --> git remote add origin https://github.com/github_user_name/repo_name.git | |
Step-8: Insert --> git push -u origin main | |
-----------------To update code---------------------------- | |
Step-1: git add . | |
Step-2: git commit -m "name of commit" | |
Step-3: git push -u origin main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment