Revision: 74195
http://sourceforge.net/p/brlcad/code/74195
Author: starseeker
Date: 2019-10-20 14:08:53 +0000 (Sun, 20 Oct 2019)
Log Message:
-----------
Tested uploading to github successfully, but do need some extra steps for the
notes
Modified Paths:
--------------
brlcad/trunk/misc/repoconv/NOTES
Modified: brlcad/trunk/misc/repoconv/NOTES
===================================================================
--- brlcad/trunk/misc/repoconv/NOTES 2019-10-19 21:02:40 UTC (rev 74194)
+++ brlcad/trunk/misc/repoconv/NOTES 2019-10-20 14:08:53 UTC (rev 74195)
@@ -248,3 +248,32 @@
--env-filter 'export GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"' -- --all
# git replace -d 7cffbab2a734e3cf
+
+
+################################################################################
+
+Uploading to github:
+
+After creating a new repository via the github website:
+
+git remote add origin [email protected]:brlcad/brlcad.git
+git push -u origin master
+git push --all
+git push --tags
+git push origin refs/notes/commits
+
+# We then download it back from github:
+git clone [email protected]:brlcad/brlcad.git
+cd brlcad
+# Verify all the branches and tags are there:
+git branch -a
+git tag
+#When cloning the repo from github, you also have to manually fetch the notes:
+git fetch origin refs/notes/commits:refs/notes/commits
+
+To make this automatic, add a section to your .git/config:
+https://gist.github.com/topheman/ec8cde7c54e24a785e52
+
+# To pull a backup, use --mirror (this seems to get the notes):
+git clone --mirror [email protected]:brlcad/brlcad.git
+
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits