forked from UNICT-Quality-Development/git-course-exercises
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,11 @@ Fork this repository and clone your fork into your machine using: | |
git clone [email protected]:USERNAME/git-course-exercises.git | ||
``` | ||
|
||
enter to your project directory using: | ||
``` | ||
cd git-course-exercises | ||
``` | ||
|
||
--- | ||
|
||
### 2️⃣ How to make a branch | ||
|
@@ -22,9 +27,9 @@ git checkout -b new-branch-name | |
|
||
### 3️⃣ How to make a commit | ||
|
||
From this step you can edit your `file.cpp` and makes some commits using: | ||
From this step you can edit your `file.cpp` and make some commits using: | ||
``` | ||
git add modified-file.cpp | ||
git add exercises/file.cpp | ||
git commit -m 'feat: description' | ||
``` | ||
|
@@ -39,7 +44,7 @@ Push the commits into GitHub using: | |
git push -u origin new-branch-name | ||
``` | ||
|
||
Afterwards, it is possible to create a Pull Request going to your fork `https://github.com/USERNAME/git-course-exercises.git` clicking on "create Pull Request" or going to the right section "Pull Request" -> "New Pull Request". | ||
Afterward, it is possible to create a Pull Request by going to your fork `https://github.com/USERNAME/git-course-exercises.git` clicking on "create Pull Request" or going to the right section "Pull Request" -> "New Pull Request". | ||
|
||
If you want to work on another `file.cpp`, go to step 2️⃣. | ||
|
||
|