├── README.md └── index.html /README.md: -------------------------------------------------------------------------------- 1 | # Gitcommand -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | github 7 | 8 | 9 |

version

10 |

git version


11 |

help

12 |

git help


13 |

config

14 |

git config


15 |

init

16 |

git init


17 |

clone

18 |

git clone


19 |

adding the folder

20 |

git add.


21 |

show the status

22 |

git status


23 |

copy

24 |

git rm


25 |

remove the folder

26 |

git restore


27 |

commant out

28 |

git commit


29 |

log

30 |

git log


31 |

show the folder

32 |

git show


33 |

push

34 |

git push


35 |

pull

36 |

git pull


37 |

branch

38 |

git branch


39 | 40 | 41 | 42 | 43 | 44 |

45 |

46 | 47 | 48 | 49 | 50 |

51 |


follow the command line

52 |

user

53 |

Remove for user id

54 |

git config --list--show-origin

55 |

Creating for user name

56 |

git config --global user.name" "

57 |

Creating foe user email

58 |

git config --global user.email" "

59 | 60 |
61 |

File is going on github

62 |

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 |

going for unworking to working

72 |

git rm--cached file.name

73 |

show the location

74 |

git status

75 |

Add the all folder

76 |

git add.

77 | 78 |
79 |

Changing for code in side

80 |

git status

81 |

git restore file.name

82 |

git status

83 |
84 |

There are three types of github area

85 | 86 | 87 | 88 | 89 | 90 |
91 |

Clone and pull

92 |

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 |
100 | 101 | 102 | 103 |

Branch

104 |

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 |

check the history

119 |

git log

120 |

see the history

121 |

git log commit

122 |

git show

123 | 124 | 125 | 126 | 127 | --------------------------------------------------------------------------------