0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

How to use GitHub

Posted at

In order to avoid forgetting how to commit my code to GitHub, I will write down the process as a memo.

Commit to New Repo

  1. Open the Terminal (on the VS code)
  2. Going to directly that you would like to commit (write "cd" and just drag and drop the file that you want to commit)
  3. Write below on the Terminal
1. git init
2. git remote add origin (URL from git Repo)
3. git add .
4. git commit -m 'first commit'
5. git push origin master

To change the Contents

1. git add .
2. git commit -m 'first commit'
3. git push origin master
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?