LoginSignup
0
0

Github

Posted at

Github

initialize git

 git init

When you type this command, a folder named .git is created in the current directory.

add local file

git add [filename]

If you want to add all file,type following command

git add .

Commit

git commit -m "message"

The message can be anything.

Connecting local and remote repositories

git remote add origin [Git link]

push

Reflects the committed local repository data in the remote repository.

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