-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo_start.txt
39 lines (30 loc) · 1.34 KB
/
demo_start.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
git // tell all commands
git clone // Clone all the repo files to pc
git -help or help // verbose commands
// Important while working with teams
git init // to initiate project
git status // to know which branch you are working
git checkout // for the changes made in unique file or existing file or to create new branch
git checkout -b branch-name // creates new branch and set to current branch
git branch --list // the star branch is current branch
git branch branch-name // to create branch and then git checkout branch-name to set it as current branch
git stash // to make updates in stack and can checkout the other branches
git branch -d branch-name // delete branch locally
git push -delete origin <remote-dir> // delete branch remotely
git fetch -p // synchronize your branch list
git fetch --all // fetch all from current repo
git branch -a // display all branches with remote/origin
git branch -r // display all branches then succeed with => git checkout branch-name => git pull
// Important with the adding process
git add . // to make all new changes to files added or changed
git add -A // adding new A for ALL
git commit -m "" /// message passing
git push // pushing to git
git pull // getting from git
// Flutter
# enable webdev in flutter
$ flutter channel master
$ flutter config --enable-web
$ flutter create .
// code kP
w)e((D3Zn5