You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now `git branch` shows you the `master` branch as well as the `work` branch.
150
117
Check the logs to make sure they’re complete and get rid of the `marks.bzr` and `marks.git` files.
151
118
152
-
Your working copy is still unsynchronized, so let's reset it:
119
+
===== Synchronizing the staging area
120
+
121
+
Whatever the number of branches you had and the import method you used, your staging area is not synchronized with `HEAD`, and with the import of several branches, your working directory is not synchronized either.
122
+
This situation is easily solved by the following command:
153
123
154
124
[source,console]
155
125
----
156
126
$ git reset --hard HEAD
157
127
----
158
128
129
+
===== Ignoring the files that were ignored with .bzrignore
130
+
131
+
Now let's have a look at the files to ignore.
132
+
As `.bzrignore`'s format is completely compatible with `.gitignore`'s format, the simplest is to rename your `.bzrignore` file.
133
+
You will also have to create a commit that contains this change for the migration:
134
+
135
+
[source,console]
136
+
----
137
+
$ git mv .bzrignore .gitignore
138
+
$ git commit -am 'Migration from Bazaar to Git'
139
+
----
140
+
141
+
===== Sending your repository to the server
142
+
143
+
Here we are!
144
+
Now you can push the repository onto its new home server:
0 commit comments