File tree 1 file changed +27
-0
lines changed
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ When you did your last pull you may have seen something like:
2
+
3
+ $ git pull
4
+ warning: no common commits
5
+ remote: Counting objects: 3, done.
6
+ remote: Total 3 (delta 0), reused 3 (delta 0)
7
+ Unpacking objects: 100% (3/3), done.
8
+ From github.com:mcviz/repo
9
+ * [new branch] repo_moved_see_mcviz.net/2011-09-17-repo-move -> gh/repo_moved_see_mcviz.net/2011-09-17-repo-move
10
+ You asked to pull from the remote 'gh', but did not specify
11
+ a branch. Because this is not the default configured remote
12
+ for your current branch, you must specify a branch on the command line.
13
+
14
+ This happened because we renamed the repository from "repo" to "mcviz".
15
+
16
+ You need to do the following:
17
+
18
+ * Look in your plaintext `mcviz/.git/config` file
19
+ * Find lines that look like this:
20
+
21
+ url =
[email protected] :mcviz/repo.git
22
+
23
+ (or git://github.com/mcviz/repo.git or https://github.com/mcviz/repo.git)
24
+
25
+ and change `repo` to `mcviz`, i.e:
26
+
27
+ url =
[email protected] :mcviz/mcviz .git
You can’t perform that action at this time.
0 commit comments