What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-11-03 17:51:11
git push to another repository
Create a new repo at github. Clone the repo from fedorahosted to your local machine. git remote rename origin upstream git remote add origin URL_TO_GITHUB_REPO git push origin master Now you can work with it just like any other github repo. To pull in pa... Add solution -
Shell/Bash 2021-09-21 06:38:03
git clone specific commit
# make a new blank repository in the current directory git init # add a remote git remote add origin url://to/source/repository # fetch a commit (or branch or tag) of interest # Note: the full history up to this commit will be retrieved unless # ... Add solution -
Shell/Bash 2021-09-06 23:09:01
github push code from one repo to another
Create a new repo at github. Clone the repo from fedorahosted to your local machine. git remote rename origin upstream git remote add origin URL_TO_GITHUB_REPO git push origin master Now you can work with it just like any other github repo. To pull in pa... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5