22 mkdir [ディレクトリ名]
23 ls -la
24 cd [ディレクトリ名]
25 mkdir angular-test
26 cd angular-test/
27 npm init
28 ls -la
29 ll
30 ls -la
31 cat package.json
32 npm install @angular/cli
33 ls -la
34 cd node_modules/
35 ls -la
36 cd ..
37 ls -la
38 cat package
39 cat package.json
40 git init
41 ls -la
42 git status
43 echo node_modules >> .gitignore
44 git status
45 echo package-lock.json >> .gitignore
46 git status
47 git add
48 git add .
49 ls -la
50 git status
51 cat .git/config
52 git remote add origin [リポジトリURL]
53 cat .git/config
54 git commit -m "init commit"
55 git config user.name "[名前]"
56 git config user.email [メアド]
57 cat .git/config
58 git status
59 git push -u origin master
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
01