generated from ministryofjustice/template-documentation-site
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #491 from ministryofjustice/daniel-manual-spaniel
Reviewed & updated these pages
- Loading branch information
Showing
5 changed files
with
48 additions
and
43 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
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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
--- | ||
owner_slack: "#nvvs-devops" | ||
title: Developing on a branch | ||
last_reviewed_on: 2023-06-20 | ||
review_in: 3 months | ||
last_reviewed_on: 2023-10-19 | ||
review_in: 12 months | ||
--- | ||
|
||
# Developing on a branch | ||
|
||
|
||
Provided the repository is not already pulled locally: | ||
Provided the repository is not already pulled locally: | ||
|
||
`git clone [email protected]:ministryofjustice/\<your-repo-name>.git` | ||
`git clone [email protected]:ministryofjustice/\<your-repo-name>.git` | ||
|
||
`cd \<your-repo-name>` | ||
|
||
|
@@ -20,7 +20,7 @@ Confirm you are on the main branch: | |
|
||
Update the repository with any changes to the main branch (if the repository already exists locally): | ||
|
||
`git pull` | ||
`git pull` | ||
|
||
Create and checkout a new branch: | ||
|
||
|
@@ -37,4 +37,3 @@ Stage all altered files: | |
Commit the newly stages files: | ||
|
||
`git commit -m ":gitmoji: <your meaningful commit message> ` | ||
|
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
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
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