Chuyển đến nội dung chính

ADD PROJECT TO GIT

Step to step add project to git

  1.  Create a new repository on GitHub. To avoid errors, do not initialize the new repository with README, license, or gitignore files. You can add these files after your project has been pushed to GitHub.
  2. git init
  3. git add .
  4. git commit -m "First commit"
    
  5. git remote add origin "repository URL"
  6. git push -u origin master

Nhận xét