Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 43b7d54

Browse files
Update README.md
1 parent bc1f7cf commit 43b7d54

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

‎README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Though there are 1000’s of articles about git, I have written this article is
1414

1515

1616
## Commands
17+
1718
### Configuration
1819

1920
git config that lets you get and set configuration variables that control all aspects of how Git looks and operates.
@@ -28,6 +29,7 @@ Though there are 1000’s of articles about git, I have written this article is
2829
# Check
2930
git config --global user.name
3031
git config --global user.email
32+
3133

3234
### Manage Repository
3335

@@ -46,6 +48,7 @@ Though there are 1000’s of articles about git, I have written this article is
4648
4- $ git commit -m "first commit"
4749
5- $ git remote add origin github.com/saifaustcse/new_repository
4850
6- $ git push -u origin master
51+
4952

5053
### Adding files and folder (Workspace --> Staging)
5154

@@ -73,6 +76,7 @@ Though there are 1000’s of articles about git, I have written this article is
7376

7477
# Display all diff information when submitting.
7578
$ git commit -v
79+
7680

7781
### Commit changes (Workspace --> Staging --> Repository)
7882

@@ -82,6 +86,7 @@ Though there are 1000’s of articles about git, I have written this article is
8286
# For untracked file
8387
$ git add .
8488
$ git commit -am [message]
89+
8590

8691
### Undo Commit (Workspace <-- Staging <-- Repository )
8792

@@ -110,11 +115,13 @@ Though there are 1000’s of articles about git, I have written this article is
110115

111116
# merge a branch into a target branch
112117
$ git merge [source branch] [target branch]
118+
113119

114120
### Workspace synchronization from remote (Workspace <-- Repository <-- Remote)
115121

116122
# Retrieve the changes to the Remote Repository and merge with the local branch (fetch+merge)
117123
$ git pull origin [branch]
124+
118125

119126
### Branching
120127

@@ -145,6 +152,7 @@ Though there are 1000’s of articles about git, I have written this article is
145152
# Delete the remote branch.
146153
$ git push origin --delete [branch-name]
147154
$ git branch -dr [remote/branch]
155+
148156

149157
### Inspection
150158

@@ -162,6 +170,7 @@ Though there are 1000’s of articles about git, I have written this article is
162170

163171
# Show the latest commits of the current branch.
164172
$ git reflog
173+
165174

166175
### Ignore files and folder
167176

@@ -170,6 +179,7 @@ Though there are 1000’s of articles about git, I have written this article is
170179

171180
# Stop tracking the specified file, but the file will be remained in the Workspace.
172181
$ git rm --cached [file]
182+
173183

174184
### Tag
175185

@@ -243,6 +253,7 @@ Though there are 1000’s of articles about git, I have written this article is
243253

244254
# Generate a archive for releasing.
245255
$ git archive
256+
246257

247258
# References
248259

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /