├── README.md └── index.html /README.md: -------------------------------------------------------------------------------- 1 | # Gitcommand -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 |git version
git help
git config
git init
git clone
git add.
git status
git rm
git restore
git commit
git log
git show
git push
git pull
git branch
git config --list--show-origin
55 |git config --global user.name" "
57 |git config --global user.email" "
59 | 60 |pwd:
63 |cd e:
64 |cd file name
65 |cd folder
66 |git init
67 |git status
68 |git add filename.name
69 |git add.
70 |git status
71 |git rm--cached file.name
73 |git status
75 |git add.
77 | 78 |git status
81 |git restore file.name
82 |git status
83 |git clone
93 |git add.
94 |git status
95 |git commit -m"file.name modified added m2()
96 |git status
97 |git push -u origin
98 |git push
99 |git branch
105 |git branch dev
106 |git checkout dev
107 |git branch
108 |status
109 |add.
110 |git commit -m "new file added working new branch"
111 |git status
112 |git checkout main>
113 |merge dev
114 |git add.
115 |commit -m "new file added by working in new branch dev later merge"
116 |git status
117 |git push origin main
118 |git log
120 |git log commit
122 |git show
123 | 124 | 125 | 126 | 127 | --------------------------------------------------------------------------------