Last active
January 18, 2024 05:34
-
-
Save esova-ana/15848137e87445e7f08e7a42b0cd28da to your computer and use it in GitHub Desktop.
Push project to Github
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
/*----------------------------------------------------------------- | |
PUSH TO GITHUB | |
------------------------------------------------------------------*/ | |
// create a repository | |
// go to the folder you want to push | |
git init | |
git add -A | |
git commit -m "First commit" | |
git remote add origin <project url> | |
git push origin <branch name> | |
// each time you change the code | |
$ git add -A | |
$ git commit -m "My commit message" | |
$ git push origin <branch name> | |
/*----------------------------------------------------------------- | |
CREATE GITHUB PAGE | |
------------------------------------------------------------------*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment