Docs: when pushing to github, the repo path needs to end in .git
Reported by Thell Fowler.
Avery Pennarun committed
Jul 8, 2009 at 20:17 UTC
b64a7aa26c72fcae7b6e1decd88ed706c185cda7
1 file changed
+2
-2
git-subtree.txt
+2
-2
@@ -241,7 +241,7 @@ the upstream. You could do this:
241
0a8f4f0^.. --onto=1130ef3 --rejoin \
242
--branch gitweb-latest
243
$ gitk gitweb-latest
244
- $ git push git@github.com:whatever/gitweb gitweb-latest:master
244
+ $ git push git@github.com:whatever/gitweb.git gitweb-latest:master
245
246
(We use '0a8f4f0^..' because that means "all the changes from
247
0a8f4f0 to the current version, including 0a8f4f0 itself.")
@@ -258,7 +258,7 @@ And you can merge changes back in from the upstream project just
258
as easily:
259
260
$ git subtree pull --prefix=gitweb \
261
- git@github.com:whatever/gitweb gitweb-latest:master
261
+ git@github.com:whatever/gitweb.git gitweb-latest:master
262
263
Or, using '--squash', you can actually rewind to an earlier
264
version of gitweb: