@@ -32,20 +32,12 @@ Though there are 1000’s of articles about git, I have written this article is
32
32
33
33
### Manage Repository
34
34
35
- Pocess 1: Create a Repository in git hub/git lab then Clone the Repository
35
+ Create a Repository in git hub/git lab then Clone the Repository
36
36
* [ How to create git hub repository.] ( https://docs.github.com/en/free-pro-team@latest/github/getting-started-with-github/create-a-repo )
37
37
38
38
# Download an existing git repository to your local computer with its entire code history.
39
39
$ git clone [ url]
40
40
41
- Pocess 2: Create a Repository in local machine then add repository in git hub/git
42
-
43
- 1- $ cd to your Project
44
- 2- $ git init
45
- 3- $ git add --all or git add .
46
- 4- $ git commit -m "first commit"
47
- 5- $ git remote add origin github.com/saifaustcse/new_repository
48
- 6- $ git push -u origin master
49
41
50
42
### Adding files and folder (Workspace --> Staging)
51
43
@@ -125,7 +117,7 @@ Though there are 1000’s of articles about git, I have written this article is
125
117
# Create a new branch and switch to the branch.
126
118
$ git checkout -b [branch]
127
119
128
- # Switch to the specified branch and update the workspace .
120
+ # Switch to the specified branch.
129
121
$ git checkout [branch-name]
130
122
131
123
# Switch to the previous branch.
0 commit comments