Skip to content

Commit 35f0b0e

Browse files
authored
add note about private repos
1 parent 114e948 commit 35f0b0e

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

‎README.md‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,16 @@ names---with particular commits. For example, immediately after doing a
2727
commit, you could say `git tag hw4-part1b` , and thereafter you could
2828
use `git diff hw4-part1b` to see differences since that commit, rather
2929
than remembering its commit ID. Note that after creating a tag in your
30-
local repo, you need to say `git push origin --tags` to push the tags to
31-
a remote. (Tags are ignored by deployment remotes such as Heroku, so
32-
there's no point in pushing tags there.)
30+
local repo, you need to say `git push YOUR_REMOTE --tags` to push the tags to
31+
your remote. See 'add' in the [git-remote man page](https://git-scm.com/docs/git-remote)
32+
for how to add remotes. (Tags are ignored by deployment remotes such as Heroku,
33+
so there's no point in pushing tags there.)
34+
35+
> NOTE: Pushing your homework to a public repo is against the edX Honor Code.
36+
Unless you have GitHub premium service which allows private repositories, you should
37+
use some other code host for this such as [notabug](https://notabug.org/),
38+
[gitlab](https://gitlab.com/), or [bitbucket](https://bitbucket.org/)
39+
and be sure that your repo is private.
3340

3441
**Part 1: Create a declarative scenario step for adding movies**
3542

0 commit comments

Comments
 (0)