This repository has been archived by the owner on Oct 9, 2024. It is now read-only.
generated from UniExeterRSE/UoE-workshop-template
-
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.
* Add content for episode on local branches * Add episode on remote branches with GitHub * Add episode on collaborating via feature branches --------- Co-authored-by: Felicity Guest <[email protected]> Co-authored-by: Ed Hone <[email protected]> Co-authored-by: Matt Johns <[email protected]>
- Loading branch information
1 parent
cf05c91
commit 62e24cb
Showing
12 changed files
with
1,586 additions
and
8 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
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 |
---|---|---|
|
@@ -259,6 +259,33 @@ Your branch is ahead of 'origin/main' by 2 commits. | |
nothing to commit, working tree clean | ||
``` | ||
|
||
Notice how we still have 2 some commits that have not been pushed to the remote | ||
repository. We'll tidy up by pushing these commits, so that our local repository | ||
and remote repository are up-to-date with each other: | ||
|
||
``` | ||
$ git push origin | ||
Username for 'https://github.com': jbloggs9999 | ||
Password for 'https://[email protected]': | ||
Enumerating objects: 12, done. | ||
Counting objects: 100% (12/12), done. | ||
Delta compression using up to 8 threads | ||
Compressing objects: 100% (7/7), done. | ||
Writing objects: 100% (8/8), 1.11 KiB | 1.11 MiB/s, done. | ||
Total 8 (delta 3), reused 0 (delta 0), pack-reused 0 | ||
remote: Resolving deltas: 100% (3/3), completed with 2 local objects. | ||
To https://github.com/jbloggs9999/git-good-practice.git | ||
92b2ac2..42a9a32 main -> main | ||
``` | ||
|
||
Finally, let's add a note to include some material about ignoring files in our | ||
`TODO.txt` file: | ||
|
||
``` | ||
Add some material about ignoring files | ||
``` | ||
|
||
|
||
## What kind of files should be ignored? | ||
|
||
|
Oops, something went wrong.