-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcmd.txt
45 lines (32 loc) · 1.24 KB
/
cmd.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
===========================================================================
react-native init AwesomeProject
cd AwesomeProject
react-native run-android
cd AwesomeProject
react-native start
===========================================================================
git status -s
git add .
git commit -m ''
git push -u
===========================================================================
¡or create a new repository on the command line
echo "# ReactTest" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/linzy120/ReactNative.git
git push -u origin master
¡or push an existing repository from the command line
-----remote list--
git remote -v
------------------
git remote add origin https://github.com/linzy120/ReactNative.git
git push -u origin master
¡or import code from another repository
You can initialize this repository with code from a Subversion, Mercurial, or TFS project.
==============================================================================
npm config set registry https://registry.npm.taobao.org --global
npm config set disturl https://npm.taobao.org/dist --global
npm config list
===============================================================================